bigboard r7319 - trunk/bigboard/stocks/mail



Author: walters
Date: Thu Apr 24 20:29:44 2008
New Revision: 7319
URL: http://svn.gnome.org/viewvc/bigboard?rev=7319&view=rev

Log:
Don't escape content we don't want as markup.


Modified:
   trunk/bigboard/stocks/mail/MailStock.py

Modified: trunk/bigboard/stocks/mail/MailStock.py
==============================================================================
--- trunk/bigboard/stocks/mail/MailStock.py	(original)
+++ trunk/bigboard/stocks/mail/MailStock.py	Thu Apr 24 20:29:44 2008
@@ -36,7 +36,11 @@
     textContent = StringIO()    
     def filterBoldOnly(node):       
         if isinstance(node, unicode):
-            textContent.write(gobject.markup_escape_text(node))
+            if markup:
+                text = gobject.markup_escape_text(node)
+            else:
+                text = node
+            textContent.write(text)
             return
         if markup and node.name == 'b':
             in_bold = True



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]