From acbe2f8c47a81c8e6046214f600ffdef24890fa6 Mon Sep 17 00:00:00 2001 From: Alex Waters Date: Fri, 28 Apr 2017 14:56:44 +0930 Subject: Fix missing whitespace around links and tokens in Markdown formatted text --- core/src/test/kotlin/format/MarkdownFormatTest.kt | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'core/src/test') diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt index 16a81165..999d739b 100644 --- a/core/src/test/kotlin/format/MarkdownFormatTest.kt +++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt @@ -332,6 +332,30 @@ class MarkdownFormatTest { } } + @Test fun linksInEmphasis() { + verifyMarkdownNode("linksInEmphasis") + } + + @Test fun linksInStrong() { + verifyMarkdownNode("linksInStrong") + } + + @Test fun linksInHeaders() { + verifyMarkdownNode("linksInHeaders") + } + + @Test fun tokensInEmphasis() { + verifyMarkdownNode("tokensInEmphasis") + } + + @Test fun tokensInStrong() { + verifyMarkdownNode("tokensInStrong") + } + + @Test fun tokensInHeaders() { + verifyMarkdownNode("tokensInHeaders") + } + private fun buildMultiplePlatforms(path: String): DocumentationModule { val module = DocumentationModule("test") val options = DocumentationOptions("", "html", generateIndexPages = false) -- cgit