<![CDATA[ Problems with \ and " - My Forums]]> https://forums.modx.com/thread/?thread=85769 <![CDATA[Problems with \ and "]]> https://forums.modx.com/thread/85769/problems-with-and#dis-post-472797
when i change something in my templates

<div class="container">
<div class="header"><div class="jezici">
[[YAMS? &get=`repeat` &beforetpl=`@CODE:<ul>` &repeattpl=`otherFlagItemTpl` &currenttpl=`currentFlagItemTpl` &aftertpl=`@CODE:</ul>`]]
</div></div>

and save and close i get this. and my site is broken.

<div class=\"container\">
<div class=\"header\"><div class=\"jezici\">
[[YAMS? &get=`repeat` &beforetpl=`@CODE:<ul>` &repeattpl=`otherFlagItemTpl` &currenttpl=`currentFlagItemTpl` &aftertpl=`@CODE:</ul>`]]
</div></div>

why the system includes this \ before quoting marks.

maybe is the problem by Transalias plugin or by DB setting. on my plesk is the DB on utf8 and since we moved the site to another location DB has Swedish latin encoding. why? we imported the DB like UTF8!

every help will be appreciated.]]>
arusmir Jul 24, 2013, 12:20 PM https://forums.modx.com/thread/85769/problems-with-and#dis-post-472797
<![CDATA[Re: Problems with \ and "]]> https://forums.modx.com/thread/85769/problems-with-and#dis-post-472804
ask your host or add a php.ini in the absolute root as far as you could go in FTP with:

magic_quotes_gpc = Off


could be this can be done with ht.access but i dunno.
]]>
fourroses666 Jul 24, 2013, 12:43 PM https://forums.modx.com/thread/85769/problems-with-and#dis-post-472804