[KSS-checkins] r46027 - in kukit/kss.core/trunk: docs kss/core

reebalazs at codespeak.net reebalazs at codespeak.net
Mon Aug 27 15:41:21 CEST 2007


Author: reebalazs
Date: Mon Aug 27 15:41:21 2007
New Revision: 46027

Modified:
   kukit/kss.core/trunk/docs/HISTORY.txt
   kukit/kss.core/trunk/kss/core/commands.py
Log:
Changed kukit payload to encode HTML content of CDATA (fixes base2)

Modified: kukit/kss.core/trunk/docs/HISTORY.txt
==============================================================================
--- kukit/kss.core/trunk/docs/HISTORY.txt	(original)
+++ kukit/kss.core/trunk/docs/HISTORY.txt	Mon Aug 27 15:41:21 2007
@@ -6,6 +6,13 @@
 
     - ...
 
+    - Changed kukit payload to encode HTML content of CDATA.
+      This was necessary because us a supposed bug in FF, that
+      prevented us to use base2 (xpath selection did not work
+      on inserted elements, due to namespace issues.)
+      Get rid of forceToDom, make sure all plugins accept html
+      parameters as strings.
+
 kss.core - 1.2 Released 2007-08-17
 
     - Refactored js code.

Modified: kukit/kss.core/trunk/kss/core/commands.py
==============================================================================
--- kukit/kss.core/trunk/kss/core/commands.py	(original)
+++ kukit/kss.core/trunk/kss/core/commands.py	Mon Aug 27 15:41:21 2007
@@ -127,7 +127,9 @@
     def addHtmlParam(self, name, content=''):
         'Add the param as an HTML content.'
         content = HtmlParser(content)().encode('ascii', 'xmlcharrefreplace')
-        self.addParam(name, content=content)
+        ##self.addParam(name, content=content)
+        # add html as cdata!
+        self.addCdataParam(name, content=content)
 
     def addXmlParam(self, name, content=''):
         'Add the param as XML content'


More information about the Kukit-checkins mailing list