tests/test-minirst.py
changeset 15261 e2df5b866d22
parent 15039 c981f4a9ea74
child 15262 e8076af14498
--- a/tests/test-minirst.py	Fri Oct 14 15:40:50 2011 -0500
+++ b/tests/test-minirst.py	Sat Oct 15 00:39:01 2011 -0500
@@ -3,8 +3,9 @@
 
 def debugformat(title, text, width, **kwargs):
     print "%s formatted to fit within %d characters:" % (title, width)
+    formatted = minirst.format(text, width, **kwargs)
+    html = minirst.formathtml(minirst.parse(text, **kwargs)[0])
     print "-" * 70
-    formatted = minirst.format(text, width, **kwargs)
     if type(formatted) == tuple:
         print formatted[0]
         print "-" * 70
@@ -12,6 +13,8 @@
     else:
         print formatted
     print "-" * 70
+    print html
+    print "-" * 70
     print
 
 paragraphs = """