html codes changing between html editor and source views

General ShopSite user discussion
Post Reply
EMGM
Posts: 22
Joined: Thu Apr 30, 2009 8:51 am

html codes changing between html editor and source views

Post by EMGM »

I’m adding "HTML back buttons" to my product More info Pages in the "More info page text box”

example:
<strong><span style="color: #ff0000;">Chevron Print Pill Box</span></strong><hr />• 12pc Display<br />• 2-Compartment<br />• Assorted Colors<br /><br />Sold by 12pc Display Only<br /><br /><FORM><INPUT Type="button" VALUE="Back" onClick="history.go(-1);return true;"></FORM>

If i switch form source view to the html editor, then back to the source view, this is what happens: (some of the back button html information is eliminated - disabling the function of the back button...

Results after switching between editor and source view:
<strong><span style="color: #ff0000;">Chevron Print Pill Box</span></strong><hr />• 12pc Display<br />• 2-Compartment<br />• Assorted Colors<br /><br />Sold by 12pc Display Only<br /><br /><form><input type="button" value="Back" /></form>

Im using ShopSite® Pro 12 sp1 r4

Can someone please help with this issue?
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: html codes changing between html editor and source views

Post by Jim »

If I just pasted that code into the text field when in Editor mode and saved changes and then published the page the code works. If I changed from Editor to source and back then it no longer works. So the best work around would be to just enter the code and then don't change it. I don't know why the code is being stripped out but will log a workorder to see if something can be done about it.
EMGM
Posts: 22
Joined: Thu Apr 30, 2009 8:51 am

Re: html codes changing between html editor and source views

Post by EMGM »

OK Jim, THANKS for looking into to this...
I appreciate your help and hope a fix can be found...
Have a GREAT WEEKEND!
Post Reply