u'dt',
u'dd',
u'div',
- #u'blockquote',
+ u'blockquote',
]
liststarttags = [
if len(self.text) > 0 and self.text[-1] != u'\n':
self.text = self.text + u'\n'
self.text = self.text \
- + u'> ' \
+ + u' ' \
+ seperator.join( \
textwrap.wrap( \
quote, \
--- /dev/null
+A block quote test
+==================
+
+Earlier someone said:
+
+ The world isn't flat after all, it's actually round, so there.
--- /dev/null
+<h1>A block quote test</h1>
+<p>Earlier someone said:</p>
+<blockquote>
+The world isn't flat after all, it's actually round, so there.
+</blockquote>
--- /dev/null
+#!/usr/bin/python
+
+import unittest
+import sys
+import os
+
+import ParsingTests
+
+class BlockquoteTests(ParsingTests.ParsingTest):
+ def testWellFormedBlockquote(self):
+ return self.runParsingTest("blockquote")
+
+def suite():
+ suite = unittest.TestSuite()
+ suite.addTest(BlockquoteTests("testWellFormedBlockquote"))
+ return suite
+
+if __name__ == "__main__":
+ unittest.main()