will_paginate helpers and edge rails #12

masterkain opened this Issue Oct 8, 2009 · 6 comments


None yet

2 participants


Rails changed default html rendering to "safe mode" by default, escaping html chars, etc.


Displaying Records <b>1&nbsp;-&nbsp;30</b> of <b>414</b> in tot...


using <%=raw seems to fix the issue, you may want to add that to the docs


problem still exists for the default laquo; and raquo; when linked.


Thanks for reporting.

Can't I somehow mark these strings as "untainted", so I don't have to explicitly use raw?


I'm not sure since I haven't dug the new rails code extensively, but I see this in

my best guess is that you can declare that the output is .html_safe!


fixed in the "rails3" branch

I don't know when will it be merged back into "agnostic", or even "master", but until then you can simply use the aforementioned branch without worries

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment