diff options
Diffstat (limited to 'tests/misc')
-rw-r--r-- | tests/misc/raw_whitespace.html | 8 | ||||
-rw-r--r-- | tests/misc/raw_whitespace.txt | 10 | ||||
-rw-r--r-- | tests/misc/smart_em.html | 5 | ||||
-rw-r--r-- | tests/misc/smart_em.txt | 9 |
4 files changed, 32 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 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 + +<pre> +class Foo(): + bar = 'bar' + + def baz(self): + print self.bar +</pre> + diff --git a/tests/misc/smart_em.html b/tests/misc/smart_em.html new file mode 100644 index 0000000..5683b25 --- /dev/null +++ b/tests/misc/smart_em.html @@ -0,0 +1,5 @@ +<p><em>emphasis</em></p> +<p>this_is_not_emphasis</p> +<p>[<em>punctuation with emphasis</em>]</p> +<p>[<em>punctuation_with_emphasis</em>]</p> +<p>[punctuation_without_emphasis]</p>
\ No newline at end of file diff --git a/tests/misc/smart_em.txt b/tests/misc/smart_em.txt new file mode 100644 index 0000000..3c56842 --- /dev/null +++ b/tests/misc/smart_em.txt @@ -0,0 +1,9 @@ +_emphasis_ + +this_is_not_emphasis + +[_punctuation with emphasis_] + +[_punctuation_with_emphasis_] + +[punctuation_without_emphasis] |