aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/main/kotlin/Formats/HtmlFormatService.kt2
-rw-r--r--core/testdata/format/uninterpretedEmphasisCharacters.html2
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>