Author momat
Recipients cpalmer, fantoozler, fdrake, georg.brandl, gsf, momat
Date 2009-06-04.06:33:54
SpamBayes Score 0.00399865
Marked as misclassified No
Message-id <>
A simple workaround for the BeautifulSoup is the following wrapper. It
sanitize the javascript code before passing it to the parser by joining
the disjoint strings, so that "</scr"+"ipt>" becomes "</script>".

def bs(input):
	pattern = re.compile('\"\+\"')
	match = lambda x: ""
	massage = copy.copy(BeautifulSoup.MARKUP_MASSAGE)
	massage.extend([(pattern, match)])
	return BeautifulSoup(input, markupMassage=massage)
Date User Action Args
2009-06-04 06:34:15momatsetrecipients: + momat, fdrake, georg.brandl, fantoozler, gsf, cpalmer
2009-06-04 06:34:13momatsetmessageid: <>
2009-06-04 06:34:08momatlinkissue670664 messages
2009-06-04 06:34:00momatcreate