From 89a36e0eed4a31856cca0cedb9b67ce79cee5100 Mon Sep 17 00:00:00 2001 From: Ingo Kegel Date: Mon, 4 Jan 2016 13:36:54 +0100 Subject: Embedded underscores in words like word_with_underscores or single embedded stars like embedded*star were removed in the output. --- core/src/test/kotlin/markdown/ParserTest.kt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'core/src/test/kotlin/markdown') diff --git a/core/src/test/kotlin/markdown/ParserTest.kt b/core/src/test/kotlin/markdown/ParserTest.kt index 5a7adf05..b0ec68ff 100644 --- a/core/src/test/kotlin/markdown/ParserTest.kt +++ b/core/src/test/kotlin/markdown/ParserTest.kt @@ -86,6 +86,18 @@ number two runTestFor("*text*") } + @Test fun underscoresNoEmph() { + runTestFor("text_with_underscores") + } + + @Test fun emphUnderscores() { + runTestFor("_text_") + } + + @Test fun singleStar() { + runTestFor("Embedded*Star") + } + @Test fun directive() { runTestFor("A text \${code with.another.value} with directive") } -- cgit