aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/raw_whitespace.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2010-01-02 21:44:56 -0500
committerWaylan Limberg <waylan@gmail.com>2010-01-03 11:39:29 -0500
commit75504dedd3d309dae9158087731a967ec6725b57 (patch)
tree45d4e4df0d676a937185e5add579dacc185d0c50 /tests/misc/raw_whitespace.html
parent6b1a159bc6fa5ffa6eb311d61f40595af5c19650 (diff)
downloadmarkdown-75504dedd3d309dae9158087731a967ec6725b57.tar.gz
markdown-75504dedd3d309dae9158087731a967ec6725b57.tar.bz2
markdown-75504dedd3d309dae9158087731a967ec6725b57.zip
Fixed ticket 44. Raw HTML now maintains original whitespace. Important inside raw <pre> tags.
Diffstat (limited to 'tests/misc/raw_whitespace.html')
-rw-r--r--tests/misc/raw_whitespace.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/misc/raw_whitespace.html b/tests/misc/raw_whitespace.html
new file mode 100644
index 0000000..7a6f131
--- /dev/null
+++ b/tests/misc/raw_whitespace.html
@@ -0,0 +1,8 @@
+<p>Preserve whitespace in raw html</p>
+<pre>
+class Foo():
+ bar = 'bar'
+
+ def baz(self):
+ print self.bar
+</pre> \ No newline at end of file