diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-19 19:51:01 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-19 19:51:01 +0100 |
commit | ea1f4cc2987536c3ed3df5899e6cec2df890f1e6 (patch) | |
tree | ceb0324a2829523587c750d771fc83d849ae4e13 /src/Formats/HtmlFormatService.kt | |
parent | d9bfa029b0ecf300ae47cf1033db2d5cb323d705 (diff) | |
download | dokka-ea1f4cc2987536c3ed3df5899e6cec2df890f1e6.tar.gz dokka-ea1f4cc2987536c3ed3df5899e6cec2df890f1e6.tar.bz2 dokka-ea1f4cc2987536c3ed3df5899e6cec2df890f1e6.zip |
refactor extension setup; encapsulate extension in LocationService
Diffstat (limited to 'src/Formats/HtmlFormatService.kt')
-rw-r--r-- | src/Formats/HtmlFormatService.kt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Formats/HtmlFormatService.kt b/src/Formats/HtmlFormatService.kt index 8442c66f..733425d7 100644 --- a/src/Formats/HtmlFormatService.kt +++ b/src/Formats/HtmlFormatService.kt @@ -5,9 +5,7 @@ import java.io.File public open class HtmlFormatService(locationService: LocationService, signatureGenerator: LanguageService, val templateService: HtmlTemplateService = HtmlTemplateService.default()) -: StructuredFormatService(locationService, signatureGenerator), OutlineFormatService { - override val extension: String = "html" - +: StructuredFormatService(locationService, signatureGenerator, "html"), OutlineFormatService { override public fun formatText(text: String): String { return text.htmlEscape() } |