diff options
| author | Asko Nomm <asko@bien.ee> | 2022-04-07 13:16:29 +0200 |
|---|---|---|
| committer | Asko Nomm <asko@bien.ee> | 2022-04-07 13:16:29 +0200 |
| commit | c6b56d8e535cedb277f034f9052fba91c182d271 (patch) | |
| tree | f80170f1b9b00e8e819e01cc151e8e26e674e640 | |
| parent | b914399ef552117d180d8592feb3779b76b0fa92 (diff) | |
Add test for bold text inside a block of italic text. (re #5)
| -rw-r--r-- | resources/test/core.md | 2 | ||||
| -rw-r--r-- | resources/test/core_result.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/test/core.md b/resources/test/core.md index 0db2199..fe284ad 100644 --- a/resources/test/core.md +++ b/resources/test/core.md @@ -50,7 +50,7 @@ function markdownToHTML(markdown) { } ``` -This is ___bold italic text___ and ***this is also***. +This is ___bold italic text___ and ***this is also***. *What about italic text that **has bold text***? ## Hi there, world! diff --git a/resources/test/core_result.html b/resources/test/core_result.html index 350a595..fb64b35 100644 --- a/resources/test/core_result.html +++ b/resources/test/core_result.html @@ -36,4 +36,4 @@ function markdownToHTML(markdown) { // And at last, join the blocks together for one big block. return parsedBlocks.join(""); -}</code></pre><p>This is <em><strong>bold italic text</strong></em> and <em><strong>this is also</strong></em>.</p><h2>Hi there, world!</h2><ul><li>List item</li><li>Another list item<ul><li>Sub list item</li><li>Another sub list item<ul><li>Sub sub list item</li><li>Continuing sub list item</li></ul></li></ul></li><li>Continuing list item</li></ul><ul><li>List item</li><li>Another list item<ul><li>Sub list item</li><li>Another sub list item<ol><li>Sub sub list item</li><li>Continuing sub list item</li></ol></li></ul></li><li>Continuing list item</li></ul>
\ No newline at end of file +}</code></pre><p>This is <em><strong>bold italic text</strong></em> and <em><strong>this is also</strong></em>. <em>What about italic text that <strong>has bold text</strong></em>?</p><h2>Hi there, world!</h2><ul><li>List item</li><li>Another list item<ul><li>Sub list item</li><li>Another sub list item<ul><li>Sub sub list item</li><li>Continuing sub list item</li></ul></li></ul></li><li>Continuing list item</li></ul><ul><li>List item</li><li>Another list item<ul><li>Sub list item</li><li>Another sub list item<ol><li>Sub sub list item</li><li>Continuing sub list item</li></ol></li></ul></li><li>Continuing list item</li></ul>
\ No newline at end of file |
