Fixed html stripping in foldoc.

This commit is contained in:
Jeremy Fincher 2003-03-26 10:14:10 +00:00
parent 6aacef4cf4
commit df45ce1195
1 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,6 @@ import re
import time
import urllib
import urllib2
import threading
import htmlentitydefs
import xml.dom.minidom
@ -133,7 +132,7 @@ class Http(callbacks.Privmsg):
text = html.split('<P>\n', 2)[1]
text = text.replace('.\n', '. ')
text = text.replace('\n', ' ')
text = self._html.sub('', text)
text = stripHtml(text)
irc.reply(msg, text.strip())
_gkrating = re.compile(r'<font color="#FFFF33">(\d+)</font>')