From c6b56d8e535cedb277f034f9052fba91c182d271 Mon Sep 17 00:00:00 2001 From: Asko Nomm Date: Thu, 7 Apr 2022 13:16:29 +0200 Subject: Add test for bold text inside a block of italic text. (re #5) --- resources/test/core.md | 2 +- 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(""); -}

This is bold italic text and this is also.

Hi there, world!

\ No newline at end of file +}

This is bold italic text and this is also. What about italic text that has bold text?

Hi there, world!

\ No newline at end of file -- cgit v1.2.3