aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2012-01-23 05:31:18 +0100
committerStefan Ritter <xeno@thehappy.de>2012-01-23 05:31:18 +0100
commit164126ddf1729354ec72e2da7ef8d77ee31fc485 (patch)
tree0d5fa4f4a1edac72f489e2a06ac972387f846049
parent34543e9d932090dd718fa42c5dfbb1bbfcb7835b (diff)
Add definition lists to the no_break regex
-rwxr-xr-xblogthon.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index d73fda0..c6fd6ee 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -42,7 +42,7 @@ except ImportError:
import ConfigParser as configparser
# A wonderful place for doing some regexp ;)
-no_break = re.compile("^\s*(<ul|</ul>|<li|</li>|<ol|</ol>|<table|</table>|<tr|</tr>|<td|</td>|<th|</th>|<p|</p>).*$")
+no_break = re.compile("^\s*(<ul|</ul>|<li|</li>|<ol|</ol>|<d.|</d.>|<table|</table>|<t.|</t.>|<p|</p>|<h.|</h.>).*$")
line_start_hyphen = re.compile("^-.*$")
line_start_plus = re.compile("^\+.*$")