-
- 8 Posts
Ho ModX people. I have used ModX Evu for many sites so far and never did experience this problem before. When I add a New template and insert my html code - and saves - the manager rewrites a lot of the code by inserting \ in the code.
Example:
I write the folllowing:
<meta name="keywords" content="[*longtitle*]" />
Adter saving, and clicking to edit again the template writes the following:
<meta name=\"keywords\" content=\"[*longtitle*]\" />
The same thing happen for Class calls as:
<div class="sidebar fltleft"> which ends up like: <div class=\"logo fltleft\"> Whuch obviously makes the whole site not work.
Has any one any idea of how I fix this? Is it webhost related? Is it something in the settings I have by fault sat wrong? Any help are mostly appreciated.
Brgds,
Maja
-
- 8 Posts
Ups I can see I can´t write the right code... since it is probably being interpretated by thus field... but I write...
meta name="keywords" content="[*longtitle*]" / which ends up like <meta name="keywords" content="[*longtitle*]" />
-
- 8 Posts
And still - I have attached an image to explain the difference..
-
- 8 Posts
Microcipcip - Thank you so much for a quick reply! Inserting in .htaccess file worked perfect! Appreciate it more than you will ever know!