aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-12-06 22:14:26 +0100
committerStefan Ritter <xeno@thehappy.de>2009-12-06 22:14:26 +0100
commit2f74887f62ec8608be560a4e668e86f0d988e570 (patch)
treebb45e8f68922286c0ee2566e6d39aad025735a13
parent338d986fb868795d528f0d5485bb5efa30446866 (diff)
no_break bugfix
-rwxr-xr-xblogthon.cgi2
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()