lassebunk / gretel

Flexible Ruby on Rails breadcrumbs plugin.
MIT License
889 stars 114 forks source link

Problem with production #60

Closed dawidof closed 8 years ago

dawidof commented 9 years ago

In development everything is great, but in production it shows

<ol class="hbreadcrumb breadcrumb"><li><a href="/dashboard">Dashboard</a></li><li><a href="/dashboard/orders">Orders</a></li><li class="current">Order #2</li></ol>

It shows like a html code, not like links.

implicitly-awesome commented 8 years ago

Had the same problem. If you use some template engine you should check html escaping. I use slim, it escapes html by default I think gretel should deal with it and make something like html_safe after rendering.

dawidof commented 8 years ago

just add before breadcrumb = raw

WilHall commented 8 years ago

@dawidof, @madeinussr thanks for the report. I'll close this since it doesn't appear to be a Gretel issue.