From 5ae95880c4bc5109dcb27ea482b63352433ec167 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 26 Feb 2015 13:03:22 +0100 Subject: fix formatting of code blocks on kotlin website --- src/Formats/KotlinWebsiteFormatService.kt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/Formats') diff --git a/src/Formats/KotlinWebsiteFormatService.kt b/src/Formats/KotlinWebsiteFormatService.kt index 3ded2d6d..a5e9c022 100644 --- a/src/Formats/KotlinWebsiteFormatService.kt +++ b/src/Formats/KotlinWebsiteFormatService.kt @@ -20,16 +20,8 @@ public class KotlinWebsiteFormatService(locationService: LocationService, return "" } - /* - TODO this should be a LocationService - override fun formatLink(text: String, location: Location): String { - val href = location.path.replace("\\", "/") - .replaceAfterLast(".", "html") - .replace("/index.html", "/"); - return "${text}" - } - */ + override public fun formatCode(code: String): String = "$code" override fun formatLink(text: String, href: String): String { return "${text}" -- cgit