aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/MarkdownFormatService.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-27 16:40:08 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-27 16:40:08 +0100
commita9538f2f49e15b04340215d8d670557ced6f132d (patch)
tree9195f9a29d2795e524a8acb1ab09d60409699a18 /src/Formats/MarkdownFormatService.kt
parent4494fd064900fc9ddd9766eed581980c2e360e96 (diff)
downloaddokka-a9538f2f49e15b04340215d8d670557ced6f132d.tar.gz
dokka-a9538f2f49e15b04340215d8d670557ced6f132d.tar.bz2
dokka-a9538f2f49e15b04340215d8d670557ced6f132d.zip
use JSoup to convert HTML markup in javadoc to content tree
Diffstat (limited to 'src/Formats/MarkdownFormatService.kt')
-rw-r--r--src/Formats/MarkdownFormatService.kt4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Formats/MarkdownFormatService.kt b/src/Formats/MarkdownFormatService.kt
index cc7d7170..8809fa96 100644
--- a/src/Formats/MarkdownFormatService.kt
+++ b/src/Formats/MarkdownFormatService.kt
@@ -27,9 +27,7 @@ public open class MarkdownFormatService(locationService: LocationService,
return "`$code`"
}
- override public fun formatList(text: String): String {
- return text
- }
+ override public fun formatList(text: String): String = text + "\n"
override fun formatListItem(text: String): String {
return "* $text"