From 531e7115dd3971abb6131bb732c9b7e14754b077 Mon Sep 17 00:00:00 2001
From: Waylan Limberg
Date: Thu, 11 Oct 2007 01:31:58 +0000
Subject: Updated misc/some-test to test line breaks in list items and removed
the "inline" tag on the htmlStash - The old Linebreaks proprocessor was the
only thing using it.
---
markdown.py | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/markdown.py b/markdown.py
index 3042138..f0a2b36 100644
--- a/markdown.py
+++ b/markdown.py
@@ -730,9 +730,7 @@ class HtmlPattern (Pattern):
def handleMatch (self, m, doc) :
rawhtml = m.group(2)
inline = True
- if rawhtml.startswith("
%s\n
" % (HTML_PLACEHOLDER % i),
- html + "\n")
+ xml = xml.replace("%s\n
" % (HTML_PLACEHOLDER % i),
+ html + "\n")
xml = xml.replace(HTML_PLACEHOLDER % i,
html)
--
cgit v1.2.3