no_break bugfix

This commit is contained in:
Stefan Ritter 2009-12-06 22:14:26 +01:00
parent 338d986fb8
commit 2f74887f62

View File

@ -22,7 +22,7 @@ import cgi, os, time, glob, re, md5, sys, random, smtplib
import ConfigParser import ConfigParser
# A wonderful place for doing some regexp ;) # A wonderful place for doing some regexp ;)
no_break = re.compile('^\s*(<ul>|</ul>|<li>|<ol>|</ol>|<table>|</table>|<tr>|</tr>|<td>|</td>|<th>|</th>|<p>|</p>).*$') no_break = re.compile('^\s*(<ul|</ul>|<li|</li>|<ol|</ol>|<table|</table>|<tr|</tr>|<td|</td>|<th|</th>|<p|</p>).*$')
def generate_uuid(string): def generate_uuid(string):
string_md5sum = md5.new(string).hexdigest() string_md5sum = md5.new(string).hexdigest()