Home »
General »
PHP discussions »
html entity double escaping (how to fix that)
html entity double escaping [message #168279] |
Mon, 08 April 2013 12:32  |
 |
captain picard
 Messages: 15 Registered: March 2013
Karma: 0
|
Junior Member |
|
|
hi there!
we cannot view these entities...
&
ß
'
&
because "&" is converted to "&" by default!
as i've seen and allready tried out in html mode, it works. but thats not the solution in this case! guess you're using the htmlentities() or htmlspecialchars() to escape those signs! please tell me where i can find the code where this replacement is done?
i would like to add the new parameter double_encode on using htmlentities(). this should fix this. htmlentities are not escaped twice then: & -!> & and will remain as & i hope...
thanks in advance
cheers,
dk
[Updated on: Mon, 08 April 2013 12:32] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Thu Apr 03 07:14:28 GMT 2025
Total time taken to generate the page: 0.03684 seconds