0

I am saving my HTML content in CMS pages of Magento 1.9.3.7. But It's changing the format of my HTML content and adding a slash when a doublequote found in the code. For example when I save below code:

<h1 align="center">How To Find Us</h1>

It changes it after saving and change it to :

<h1 align=\"center\">How To Find Us</h1>

Please help tme to resolve the issue.

  • Does that happen with every node attribute? eg also class="foobar" – roman204 Feb 27 '18 at 18:35
  • yes, It happens for each and every node attribute. – Magento Team Feb 28 '18 at 6:26
1

I found the reason. Actually I was using the https://www.tripleginteractive.com/blog/wordpress/integrate-magento-wordpress/ solution to use WP functions inside magento and written the code in index.php file that why it was happening. Now I have placed that code in that particular file only where I am using WP functions.

Hope It helps someone in future.

  • great.......... :) – Rahul Singh Feb 28 '18 at 7:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.