Joomla - output ' instead of \'
Posted
by Peter Perhác
on Stack Overflow
See other posts from Stack Overflow
or by Peter Perhác
Published on 2010-06-08T14:37:48Z
Indexed on
2010/06/08
14:42 UTC
Read the original article
Hit count: 271
Hello there, all of my Joomla site's contents shows apostrophes as \'
instead of just '
.
Now my head is spinning from looking at all the million places where individual components and joomla itself does add/remove slashes and deals with magic quotes and all of this... I also found that one can rather easily write one's own OutputFilter for the patTemplate, so I thought maybe I would just do a str_replace of all \'
to '
. Doesn't sound right.
How to deal with these apostrophes?
© Stack Overflow or respective owner