Displaying 1 result from an estimated 1 matches for "back_sid".
Did you mean:
back_id
2006 Mar 15
4
RJS template eating encoding
...oding. I now get garbage characters where before
I got the correct ones.
The code for the RHTML:
<%= update_element_function(
"front", :content => simple_format( h(@card.front_side))) %>
<%= update_element_function(
"back", :content => simple_format( h(@card.back_side))) %>
and for RJS:
page.replace_html ''front'', simple_format( h( @card.front_side ) )
page.replace_html ''back'', simple_format( h( @card.back_side ) )
If I go to the action manually and check, in the RHTML version it has
the correct characters; in the RJS v...