Hi,

then new DemoBrowser is very cool!
Now with source code view, ideal to learn.

I'm using a Windows environment :-(
and the tool/gendata.py creates demodata.js with caridge-returns (from the demoDescription).
I putted a replace "\r" to "" into gendata.py, then it works.
(patch attached).

Erich

Index: S:/entw/qooxdoo/qooxdoo/frontend/application/demobrowser/tool/gendata.py
===================================================================
--- S:/entw/qooxdoo/qooxdoo/frontend/application/demobrowser/tool/gendata.py    
(revision 8669)
+++ S:/entw/qooxdoo/qooxdoo/frontend/application/demobrowser/tool/gendata.py    
(working copy)
@@ -102,6 +102,7 @@
         if m:
             desc = m.group(1)
             desc = re.sub("\n"," ",desc)
+            desc = re.sub("\r","",desc)
             desc = desc.strip()
     else:
         print "Failed to open filepath: ", filepath
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to