From 75504dedd3d309dae9158087731a967ec6725b57 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sat, 2 Jan 2010 21:44:56 -0500 Subject: Fixed ticket 44. Raw HTML now maintains original whitespace. Important inside raw
 tags.

---
 tests/misc/raw_whitespace.html |  8 ++++++++
 tests/misc/raw_whitespace.txt  | 10 ++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 tests/misc/raw_whitespace.html
 create mode 100644 tests/misc/raw_whitespace.txt

(limited to 'tests')

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 @@
+

Preserve whitespace in raw html

+
+class Foo():
+    bar = 'bar'
+
+    def baz(self):
+        print self.bar
+
\ No newline at end of file diff --git a/tests/misc/raw_whitespace.txt b/tests/misc/raw_whitespace.txt new file mode 100644 index 0000000..bbc7cec --- /dev/null +++ b/tests/misc/raw_whitespace.txt @@ -0,0 +1,10 @@ +Preserve whitespace in raw html + +
+class Foo():
+    bar = 'bar'
+
+    def baz(self):
+        print self.bar
+
+ -- cgit v1.2.3