Skip to content

Commit

Permalink
Mark the rendered content as html_safe.
Browse files Browse the repository at this point in the history
The link is already escaped by the link_to helper.
  • Loading branch information
weppos committed Apr 6, 2011
1 parent 5817ce6 commit 7c83eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/breadcrumbs_on_rails/controller_mixin.rb
Expand Up @@ -90,7 +90,7 @@ module HelperMethods

def render_breadcrumbs(options = {}, &block)
builder = (options.delete(:builder) || Breadcrumbs::SimpleBuilder).new(self, breadcrumbs, options)
content = builder.render
content = builder.render.html_safe
if block_given?
capture(content, &block)
else
Expand Down

0 comments on commit 7c83eb7

Please sign in to comment.