--- /dev/null
+ * Fun is on the way
+ 1. Honest
+ 2. It really is
+ * And it's fun
+ * We should have at least one silly long line to check that
+ wrapping works like we expect otherwise what's the point
+
+ What is HTML2Text?::
+
+ HTML2Text is a funky bit of python that translates HTML fragments
+ in to plain text in a human readable format. It's primary use was
+ for generating the plain text body of email messages generated from
+ rssfeeds as part of rss2maildir.
+
+ Hopefully one day it'll be good enough that other people will want
+ to use it!
+
+ Who wrote it?::
+ HTML2Text was written by Brett Parker.
--- /dev/null
+<ul>
+ <li>Fun is on the way
+ <ol>
+ <li>Honest</li>
+ <li>It really is
+ <ul>
+ <li>And it's fun</li>
+ <li>We should have at least one silly long line to check that wrapping works like we expect otherwise what's the point</li>
+ </ul>
+ </li>
+ </ol>
+ <dl>
+ <dt>What is HTML2Text?</dt>
+ <dd>
+ <p>HTML2Text is a funky bit of python that translates HTML fragments in to plain text in a human readable format. It's primary use was for generating the plain text body of email messages generated from rssfeeds as part of rss2maildir.</p>
+ <p>Hopefully one day it'll be good enough that other people will want to use it!</p>
+ </dd>
+ <dt>Who wrote it?</dt>
+ <dd>HTML2Text was written by Brett Parker.</dd>
+ </dl>
+ </li>
+</ul>
def testWellFormedNestedOrderedLists(self):
return self.runParsingTest("nestedorderedlists-wellformed")
+ def testWellFormedMixedNestedLists(self):
+ return self.runParsingTest("mixednestedlists-wellformed")
+
def suite():
suite = unittest.TestSuite()
suite.addTest(NestedListTests("testWellFormedNestedLists"))
suite.addTest(NestedListTests("testWellFormedNestedOrderedLists"))
+ suite.addTest(NestedListTests("testWellFormedMixedNestedLists"))
return suite
if __name__ == "__main__":