]> git.zarvox.org Git - shortlog.git/commitdiff
Add <table> to the list of format-excluded elements.
authorDrew Fisher <drew.m.fisher@gmail.com>
Sat, 19 Feb 2011 11:35:30 +0000 (05:35 -0600)
committerDrew Fisher <drew.m.fisher@gmail.com>
Sat, 19 Feb 2011 11:35:30 +0000 (05:35 -0600)
Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
shortlog.py

index a2606d3e91f646f5841b26c9e4be1ba12312f5fd..806c64000be798a43c46debc74aac8dfef729873 100644 (file)
@@ -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):