aboutsummaryrefslogtreecommitdiff
path: root/src/Formats
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-26 13:08:07 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-26 13:08:07 +0100
commit51aba138aa426abd37282081e40cb23481eeebea (patch)
tree11c38158fcf855955fbae62aaac3ff9b46007b8e /src/Formats
parent5ae95880c4bc5109dcb27ea482b63352433ec167 (diff)
downloaddokka-51aba138aa426abd37282081e40cb23481eeebea.tar.gz
dokka-51aba138aa426abd37282081e40cb23481eeebea.tar.bz2
dokka-51aba138aa426abd37282081e40cb23481eeebea.zip
fix formatting of strikethrough on Kotlin website
Diffstat (limited to 'src/Formats')
-rw-r--r--src/Formats/KotlinWebsiteFormatService.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Formats/KotlinWebsiteFormatService.kt b/src/Formats/KotlinWebsiteFormatService.kt
index a5e9c022..3096c9de 100644
--- a/src/Formats/KotlinWebsiteFormatService.kt
+++ b/src/Formats/KotlinWebsiteFormatService.kt
@@ -23,6 +23,8 @@ public class KotlinWebsiteFormatService(locationService: LocationService,
override public fun formatCode(code: String): String = "<code>$code</code>"
+ override fun formatStrikethrough(text: String): String = "<s>$text</s>"
+
override fun formatLink(text: String, href: String): String {
return "<a href=\"${href}\">${text}</a>"
}