summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Wiesner <sebastian@swsnr.de>2019-04-05 15:46:33 +0200
committerSebastian Wiesner <sebastian@swsnr.de>2019-04-05 15:50:20 +0200
commitce4f1f6a36121cc9b53a81afb82d2c445c4faa74 (patch)
treeb955171f2645b00d0da900e4a866f90d3e2fd6b6
parent25b4c39d70335ae3c64b82942a6ac685cfc40b3a (diff)
Test inline formatting in headers
-rw-r--r--tests/formatting/headers_and_paragraphs.expected.html3
-rw-r--r--tests/formatting/headers_and_paragraphs.md2
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/formatting/headers_and_paragraphs.expected.html b/tests/formatting/headers_and_paragraphs.expected.html
index d96b089..5cdc4e8 100644
--- a/tests/formatting/headers_and_paragraphs.expected.html
+++ b/tests/formatting/headers_and_paragraphs.expected.html
@@ -11,6 +11,7 @@
.inv_foreground { color: #000000; }
.inv_background { background-color: #AAAAAA; }
.ansi1 { font-weight: bold; }
+.ansi33 { color: #aa5500; }
.ansi34 { color: #0000aa; }
</style>
</head>
@@ -27,7 +28,7 @@
<span id="line-8">sed diam nonumy eirmod tempor invidunt ut labore et dolore</span>
<span id="line-9">magna aliquyam erat, sed diam voluptua.</span>
<span id="line-10"></span>
-<span id="line-11"><span class="ansi1 ansi34">┄┄</span><span class="ansi1 ansi34">Another heading</span></span>
+<span id="line-11"><span class="ansi1 ansi34">┄┄</span><span class="ansi1 ansi34">Another heading with </span><span class="ansi1 ansi33">inline formatting</span></span>
<span id="line-12"></span>
<span id="line-13">Bye Bye</span>
<span id="line-14"></span>
diff --git a/tests/formatting/headers_and_paragraphs.md b/tests/formatting/headers_and_paragraphs.md
index 1dee973..a21c810 100644
--- a/tests/formatting/headers_and_paragraphs.md
+++ b/tests/formatting/headers_and_paragraphs.md
@@ -9,6 +9,6 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et dolore
magna aliquyam erat, sed diam voluptua.
-## Another heading
+## Another heading with `inline formatting`
Bye Bye