middleman/middleman — pull request #961 by bhollis (2013-08-16 04:13:29+00:00)
Title: Directory Indexes breaks when you have paths with spaces

My `index.html.erb`:
```

<%= link_to 'No spaces', 'foo_bar.html' %>

<%= link_to 'Spaces, no escaping.', 'foo bar.html' %>

<%= link_to 'Spaces, percent encoded.', 'foo%20bar.html' %>

```

`foo_bar.html` and `foo bar.html` are in the same directory as `index.html.erb`.

Generated output with `activate :directory_indexes` in `config.rb`:
```

No spaces

Spaces, no escaping.

Spaces, percent encoded.

```

... and without `activate :directory_indexes`:
```

No spaces

Spaces, no escaping.

Spaces, percent encoded.

```