no_break bugfix

This commit is contained in:
Stefan Ritter 2009-12-06 22:14:26 +01:00
parent 338d986fb8
commit 2f74887f62
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ import cgi, os, time, glob, re, md5, sys, random, smtplib
import ConfigParser
# 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):
string_md5sum = md5.new(string).hexdigest()