aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/smart_em.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2009-07-21 21:35:14 -0400
committerWaylan Limberg <waylan@gmail.com>2009-07-21 21:35:14 -0400
commit383916493d8d05feb8df72e61cbec15d9b5fb937 (patch)
tree61bd7a2d5e8c12ec328b5876f492fabf49f938c1 /tests/misc/smart_em.html
parent93dddf9eb7b3263beda332e79ee84cf8ab9c13bb (diff)
downloadmarkdown-383916493d8d05feb8df72e61cbec15d9b5fb937.tar.gz
markdown-383916493d8d05feb8df72e61cbec15d9b5fb937.tar.bz2
markdown-383916493d8d05feb8df72e61cbec15d9b5fb937.zip
Fixed Ticket 38. With smart_emphasis turned on, emphasised text can now be wrapped in punctuation without spaces and still will be converted to emphasis (ie: '[_foo_]'). Test included. Thanks for the report seanh.
Diffstat (limited to 'tests/misc/smart_em.html')
-rw-r--r--tests/misc/smart_em.html5
1 files changed, 5 insertions, 0 deletions
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