[Solved] Double quotation mark breaks edit of oneline content block
Posted: Thu Mar 27, 2008 1:58 pm
I tried to use a double quotation mark in the content of a oneline content block.
First input and submit works as expected, however, when I subsequently try to edit the page everything following the double quotation mark is lost.
The source of the problem seems to be that quotation marks are not escaped or htmlencoded in the input text box. The source code of the edit page shows for example
with the value field prematurely "ending" after equal sign.
Has anybody else experienced this problem? Is there a known workaround?
I have already tried to set wysiwyg to true and false, but the setting didn't change behavior. Using single quotation marks as a workaround doesn't help as I want to use a variable in a parameter which has to be quoted.
I hope I didn't miss something obvious?
Thank you!
Bash
First input and submit works as expected, however, when I subsequently try to edit the page everything following the double quotation mark is lost.
The source of the problem seems to be that quotation marks are not escaped or htmlencoded in the input text box. The source code of the edit page shows for example
with the value field prematurely "ending" after equal sign.
Has anybody else experienced this problem? Is there a known workaround?
I have already tried to set wysiwyg to true and false, but the setting didn't change behavior. Using single quotation marks as a workaround doesn't help as I want to use a variable in a parameter which has to be quoted.
I hope I didn't miss something obvious?
Thank you!
Bash