diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-03-24 16:37:14 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-04-10 18:19:20 +0300 |
commit | e13d38a494d8303721a1a4e10f65064b4de157e2 (patch) | |
tree | 3c45c6f8b2157eaef18d5e3eff69171e5d8de99f /core | |
parent | 1e79c85980e9259549a76c3f8c3410582cbf4eff (diff) | |
download | dokka-e13d38a494d8303721a1a4e10f65064b4de157e2.tar.gz dokka-e13d38a494d8303721a1a4e10f65064b4de157e2.tar.bz2 dokka-e13d38a494d8303721a1a4e10f65064b4de157e2.zip |
Fix typo in html tag emph -> em
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/kotlin/Formats/HtmlFormatService.kt | 2 | ||||
-rw-r--r-- | core/testdata/format/uninterpretedEmphasisCharacters.html | 2 |
2 files changed, 2 insertions, 2 deletions
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("<a href=\"$href\">", "</a>", 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 @@ <h1>foo</h1> <a name="$foo()"></a> <code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code> -<p>This is <emph>emphasized text</emph> but text_with_underscores has to preserve the underscores. +<p>This is <em>emphasized text</em> but text_with_underscores has to preserve the underscores. Single stars embedded in a word like Embedded*Star have to be preserved as well.</p> </BODY> </HTML> |