Dobrojelatel / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Ampersand entered in structure text field causes error #543

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Create a structure and add a text field to it
2.  Create a page that uses the structure
3.  Enter an ampersand into the text field and save the page

What is the expected output? What do you see instead?

I would expect Vosao to automatically escape special characters like ampersands 
so that non-technical user does not become confused.  Instead, I receive a 
cryptic error:

"Error on line 3 of document : The entity name must immediately follow the '&' 
in the entity reference. Nested exception: The entity name must immediately 
follow the '&' in the entity reference."

Also if I try to manually escape the ampersand myself with & then it will 
temporarily correct the problem.  But the next time I attempt to edit the page 
the & is converted back to just & and I have to manually change it again!

Please use labels and text to provide additional information

Original issue reported on code.google.com by craigr...@gmail.com on 14 Jan 2012 at 9:39

GoogleCodeExporter commented 9 years ago

Original comment by kinyelo@gmail.com on 16 Jan 2012 at 10:54

GoogleCodeExporter commented 9 years ago
Can't reproduce on 0.9.12

Original comment by kinyelo@gmail.com on 21 Jan 2012 at 9:54