bigboard r7318 - trunk/bigboard/stocks/mail
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: bigboard r7318 - trunk/bigboard/stocks/mail
- Date: Thu, 24 Apr 2008 21:23:28 +0100 (BST)
Author: walters
Date: Thu Apr 24 20:23:28 2008
New Revision: 7318
URL: http://svn.gnome.org/viewvc/bigboard?rev=7318&view=rev
Log:
Use XHTML entities so we get '
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:23:28 2008
@@ -32,7 +32,7 @@
pystr = "<html>" + parsed_str + "</html>"
# Now use BeautifulSoup to parse it
from BeautifulSoup import BeautifulSoup
- soup = BeautifulSoup(pystr, convertEntities=BeautifulSoup.HTML_ENTITIES)
+ soup = BeautifulSoup(pystr, convertEntities=BeautifulSoup.XHTML_ENTITIES)
textContent = StringIO()
def filterBoldOnly(node):
if isinstance(node, unicode):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]