Hey Guys
I just tried to use an ‘Rte Field’ in a ‘Grid Field’ and after publishing an entry I went back to edit the grid to see HTML entities rather than HTML in the ‘Rte Field’’s ‘Content View’
To remedy this I changed line 570 in ExpressionEngine RTE Module Library ‘(rte_lib.php)’ found in system\expressionengine\modules\rte\libraries\Rte_lib.php from
$data = htmlspecialchars($data, ENT_QUOTES);to…
$data = htmlspecialchars_decode($data, ENT_QUOTES);I’m not saying this is a fix as I have never needed to dive into the Rte code and have no idea on its inner workings it scary stuff 😉
eg. i’m not sure if there is Javascript not being triggered that is meant to convert the entities for view or whats happening but wanted to bring it to your attention.
Look forward to the proper fix.
Cheers guys
EE 2.7.0 (last updated 2013-07-31)
Thanks for bringing this to our attention, Digital Doctors. It ended up being a CodeIgniter bug, and then an encoding bug similar to what you have found but the fix was a bit more complicated to include here. Hopefully we’ll get another dev preview build out with the fix and you can let us know if you’re still having this problem. Thanks again!!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.