Forums / Bug Reports / Quotation marks in option comments are lost on subsequent edit

Quotation marks in option comments are lost on subsequent edit

Locked

Views: 1,773

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
14 Feb 2007, 3:33 PM
#1
jaymis avatar

jaymis

New Zenner

Join Date:
Aug 2005
Posts:
4
Plugin Contributions:
0

Quotation marks in option comments are lost on subsequent edit

Hi guys. I've been getting a little hacky with the attributes system, putting together a "delivery" system, which asks a couple of questions (where it's being delivered etc.) for each product added. To get this formatted correctly I've been adding some instructions surrounded by <span> tags to the Option Comments.

This works fine, HTML comes up perfectly, but I discovered that when I subsequently go to edit those option comments, if they contain quotes ( " ) they don't parse back into the edit box correctly. Whether this is for HTML code, or just using a quote as plain text, the comment is truncated at the point of the quote.

Similar to this thread: http://www.zen-cart.com/forum/showthread.php?t=7768

I've encountered this kind of thing before.. I think it's that the database field isn't having characters escaped when it's read back into the text input box?

Running ZC 1.3.7

Cheers

Jaymis

18 Feb 2007, 1:30 PM
#2
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Quotation marks in option comments are lost on subsequent edit

Would it be possible to have at least a text line from the specific page you're referring to ? This issue looks quite interesting to seek for. :wink2: