Reputation: 31
I'm having weird issues with the HTML in the information page. Any HTML I type has \"
added to the left and right so the following iframe would turn to this:
Before:
<iframe src="http://www.google.com/"></iframe>
After:
<p><iframe src="\"http://www.google.com/\""></iframe></p>
OpenCart Version: 1.5.5.1
Upvotes: 0
Views: 907
Reputation: 11
create file at root with dots: .user.ini put this:
magic_quotes_gpc = Off
and then save
Upvotes: 1
Reputation: 31
I managed to fix this issue by forcing the magic_quotes off in .htaccess:
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/user/public_html
</IfModule>
Upvotes: 0
Reputation: 9227
You are typing your code directly into the WYSIWYG side of the editor. This will escape all the html entities like you are seeing.
All you need to do is hit the "Source" button, and put your HTML into this view instead.
Upvotes: 0