This project is archived and is in readonly mode.

#4695 ✓resolved

string added to rails_helpers gets HTML escaped

Reported by Fjan | May 25th, 2010 @ 08:46 PM

If the first part of a string is a rails helper the rest of the string gets HTML escaped:

h('test')+'<br/>' # => wrong: test&lt;br&gt;
''+h('test')+'<br/>' # => ok: test<br/>
"#{h('test')}<br/>" # => ok: test<br/>

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>


Referenced by