no_break bugfix
This commit is contained in:
parent
338d986fb8
commit
2f74887f62
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user