diff options
Diffstat (limited to '')
-rwxr-xr-x | blogthon.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi index a9c4023..9752bf9 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -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() |