From e13d38a494d8303721a1a4e10f65064b4de157e2 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Fri, 24 Mar 2017 16:37:14 +0300 Subject: Fix typo in html tag emph -> em --- core/src/main/kotlin/Formats/HtmlFormatService.kt | 2 +- core/testdata/format/uninterpretedEmphasisCharacters.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/src/main/kotlin/Formats/HtmlFormatService.kt b/core/src/main/kotlin/Formats/HtmlFormatService.kt index 12d39af3..5e05f51a 100644 --- a/core/src/main/kotlin/Formats/HtmlFormatService.kt +++ b/core/src/main/kotlin/Formats/HtmlFormatService.kt @@ -68,7 +68,7 @@ open class HtmlOutputBuilder(to: StringBuilder, override fun appendLink(href: String, body: () -> Unit) = wrap("", "", body) override fun appendStrong(body: () -> Unit) = wrapInTag("strong", body) - override fun appendEmphasis(body: () -> Unit) = wrapInTag("emph", body) + override fun appendEmphasis(body: () -> Unit) = wrapInTag("em", body) override fun appendStrikethrough(body: () -> Unit) = wrapInTag("s", body) override fun appendCode(body: () -> Unit) = wrapInTag("code", body) diff --git a/core/testdata/format/uninterpretedEmphasisCharacters.html b/core/testdata/format/uninterpretedEmphasisCharacters.html index 32e57c04..ced7d0a5 100644 --- a/core/testdata/format/uninterpretedEmphasisCharacters.html +++ b/core/testdata/format/uninterpretedEmphasisCharacters.html @@ -9,7 +9,7 @@

foo

fun foo(): Unit -

This is emphasized text but text_with_underscores has to preserve the underscores. +

This is emphasized text but text_with_underscores has to preserve the underscores. Single stars embedded in a word like Embedded*Star have to be preserved as well.

-- cgit