Skip to content

Commit

Permalink
remove the closing div cleaning code (since the opening div cleaning …
Browse files Browse the repository at this point in the history
…code was removed)
  • Loading branch information
olivierverdier committed Oct 22, 2010
1 parent d04f096 commit b4272aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/landslide/parser.py
Expand Up @@ -50,7 +50,6 @@ def parse(self, text):
raise RuntimeError(u"Looks like docutils are not installed")

html = html_body(text, input_encoding=self.encoding)
html = re.sub(r'</div>\n', r'', html, re.DOTALL | re.UNICODE)
html = re.sub(r'<p class="sys.+\n.+ion\.', r'', html,
re.DOTALL | re.UNICODE) # Pretty hackish
html = re.sub(r'<h1 class="title">', r'<h1>', html,
Expand Down

0 comments on commit b4272aa

Please sign in to comment.