Skip to content

Commit

Permalink
Remove trailing whitespace within breadcrumb's link tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
gma committed May 22, 2011
1 parent ff55b2e commit 89cb375
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
directly into the page (haml_tag now writes direct to the output
buffer).

* Bug fix: Removed trailing whitespace inside <a> tags generated by
the display_breadcrumbs() helper.

= 0.9.5 / (1 May 2011)

* Added --version option to nesta command (Christopher Lindblom).
Expand Down
2 changes: 1 addition & 1 deletion lib/nesta/navigation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def display_breadcrumbs(options = {})
haml_tag :ul, :class => options[:class] do
breadcrumb_ancestors[0...-1].each do |page|
haml_tag :li do
haml_tag :a, :href => page.abspath do
haml_tag :a, :<, :href => page.abspath do
haml_concat breadcrumb_label(page)
end
end
Expand Down

0 comments on commit 89cb375

Please sign in to comment.