From 8c2e332a00733ce17940d3ce633d589b1af04abf Mon Sep 17 00:00:00 2001
From: Drew Fisher <drew.m.fisher@gmail.com>
Date: Sat, 19 Feb 2011 05:35:30 -0600
Subject: [PATCH] Add <table> to the list of format-excluded elements.

Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
---
 shortlog.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shortlog.py b/shortlog.py
index a2606d3..806c640 100644
--- a/shortlog.py
+++ b/shortlog.py
@@ -85,7 +85,7 @@ def makeParas(lines):
 		paragraphs.append("\n".join(thispara))
 
 	# wrap paragraphs in <p></p> if they aren't other HTML tags that don't want to be wrapped in <p> tags
-	return map( lambda x: x if "<ol>" in x or "<ul>" in x or "<pre>" in x else "<p>" + x + "</p>", paragraphs)
+	return map( lambda x: x if "<ol>" in x or "<ul>" in x or "<pre>" in x or "<table>" in x else "<p>" + x + "</p>", paragraphs)
 
 
 def getFileList(numdays=7):
-- 
2.39.5