diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2014-12-30 12:36:14 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2014-12-30 12:36:14 +0100 |
commit | 8ef68182c02d8ec8fc33d0de0b7fcdef183e7ee7 (patch) | |
tree | 72f9e6821593a698c70e8ea6afff173b20338649 /src/Formats/HtmlFormatService.kt | |
parent | 2016ba9a4c6fbd1cc1644eff6d7ac606d624bd23 (diff) | |
download | dokka-8ef68182c02d8ec8fc33d0de0b7fcdef183e7ee7.tar.gz dokka-8ef68182c02d8ec8fc33d0de0b7fcdef183e7ee7.tar.bz2 dokka-8ef68182c02d8ec8fc33d0de0b7fcdef183e7ee7.zip |
more correct formatting of Markdown tables
Diffstat (limited to 'src/Formats/HtmlFormatService.kt')
-rw-r--r-- | src/Formats/HtmlFormatService.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Formats/HtmlFormatService.kt b/src/Formats/HtmlFormatService.kt index 48291b48..b23e4a45 100644 --- a/src/Formats/HtmlFormatService.kt +++ b/src/Formats/HtmlFormatService.kt @@ -35,7 +35,7 @@ public open class HtmlFormatService(locationService: LocationService, to.appendln("<h$level>${text}</h$level>") } - override fun appendText(to: StringBuilder, text: String) { + override fun appendParagraph(to: StringBuilder, text: String) { to.appendln("<p>${text}</p>") } @@ -94,7 +94,7 @@ public open class HtmlFormatService(locationService: LocationService, } override fun formatCode(code: String): String { - return "<code>${code.htmlEscape()}</code>" + return "<code>${code}</code>" } override fun formatList(text: String): String { |