summaryrefslogtreecommitdiffstats
path: root/t/markdown/embedded-underscore.md
diff options
context:
space:
mode:
authorGervase Markham <gerv@mozilla.org>2017-02-26 03:54:49 +0100
committerDylan William Hardison <dylan@hardison.net>2017-02-26 04:14:56 +0100
commitd045206593953ebfeb22858baa25e8c2fe565e33 (patch)
treee728b094024a8cba884b22db30e45d037a8b03b7 /t/markdown/embedded-underscore.md
parent4480c8ca91365aa60c60f371a6cc2fd3f22a1ff1 (diff)
downloadbugzilla-d045206593953ebfeb22858baa25e8c2fe565e33.tar.gz
bugzilla-d045206593953ebfeb22858baa25e8c2fe565e33.tar.xz
Bug 1174341 - only treat emphasis markdown based on spaces
Diffstat (limited to 't/markdown/embedded-underscore.md')
-rw-r--r--t/markdown/embedded-underscore.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/t/markdown/embedded-underscore.md b/t/markdown/embedded-underscore.md
new file mode 100644
index 000000000..15093cccf
--- /dev/null
+++ b/t/markdown/embedded-underscore.md
@@ -0,0 +1,19 @@
+<lib>_foo_bar.c
+<lib>_foo_bar_baz.c
+<prefix>_bar.c and <prefix>_bif.c
+hello_bar.c and there_bif.c
+
+var this__is_a_variable__ = "";
+
+__this is not__
+
+---
+
+<p>&lt;lib&gt;_foo_bar.c<br>
+&lt;lib&gt;_foo_bar_baz.c<br>
+&lt;prefix&gt;_bar.c and &lt;prefix&gt;_bif.c<br>
+hello_bar.c and there_bif.c</p>
+
+<p>var this__is_a_variable__ = &quot;&quot;;</p>
+
+<p><strong>this is not</strong></p>