Skip to content

Commit

Permalink
gotta get the hang of this html_safe thing
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Jun 18, 2010
1 parent 081449f commit 2bbb45d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vendor/plugins/pages/app/views/admin/pages/_page.html.erb
Expand Up @@ -5,8 +5,8 @@
"branch_start"
end
title = h(page.title)
title << "<em>(hidden)</em>" unless page.show_in_menu?
title << "<em>(draft)</em>" if page.draft?
title << " <em>(hidden)</em>".html_safe unless page.show_in_menu?
title << " <em>(draft)</em>".html_safe if page.draft?
-%>
<li class='record<%= " #{branch}" %>' id="<%= dom_id(page) -%>">
<div class='clearfix'>
Expand Down

0 comments on commit 2bbb45d

Please sign in to comment.