aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/markdown
diff options
context:
space:
mode:
authorIngo Kegel <ingo.kegel@ej-technologies.com>2016-01-04 13:36:54 +0100
committerIngo Kegel <ingo.kegel@ej-technologies.com>2016-01-04 13:36:54 +0100
commit89a36e0eed4a31856cca0cedb9b67ce79cee5100 (patch)
treefd0d71cc5924564036775b320ee6e25afc899605 /core/src/test/kotlin/markdown
parente0c6c1a58ff09e657d41f2bca6943486cb877f25 (diff)
downloaddokka-89a36e0eed4a31856cca0cedb9b67ce79cee5100.tar.gz
dokka-89a36e0eed4a31856cca0cedb9b67ce79cee5100.tar.bz2
dokka-89a36e0eed4a31856cca0cedb9b67ce79cee5100.zip
Embedded underscores in words like word_with_underscores or single embedded stars like embedded*star were removed in the output.
Diffstat (limited to 'core/src/test/kotlin/markdown')
-rw-r--r--core/src/test/kotlin/markdown/ParserTest.kt12
1 files changed, 12 insertions, 0 deletions
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")
}