Python Desktop Server Weblog 12.10.2003

a picture of myself

Münsterland.org

2003-10-12

Little bug with PyDS and encoded entities

There is a small bug with HTML entities in PyDS: if you create postings with entities, they are stored fine. But if you edit this posting (or story or some other places where this problem exists), the entity get's decoded. This creates problems if you want to put in literal entities for example in source snippets that include HTML templates or stuff like that. For example &amp;lt; would be decoded one step with each edit, first being reduced to &lt; and then to <.

If you experience this problem, try the CVS version. This includes a patch for this problem (each textareas default value is now protected by a call to macros.quoteHTML).

posted at 20:19:44    #
October 2003
MoTuWeThFrSaSu
   1 2 3 4 5
6 7 8 9101112
13141516171819
20212223242526
2728293031  
Sep
2003
 Nov
2003

This is the Python Desktop Server weblog.


(Donations will be used by the author to buy stuff, fullfill selfish wishes or do other silly recreational things. You have been warned.).
The PyDS is
OSI Certified Open Source Software

Python Powered

XML-Image

© 2003-2007, Georg Bauer