diff options
Diffstat (limited to 'src/Formats/HtmlFormatService.kt')
-rw-r--r-- | src/Formats/HtmlFormatService.kt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Formats/HtmlFormatService.kt b/src/Formats/HtmlFormatService.kt index c337b69b..48291b48 100644 --- a/src/Formats/HtmlFormatService.kt +++ b/src/Formats/HtmlFormatService.kt @@ -97,6 +97,14 @@ public open class HtmlFormatService(locationService: LocationService, return "<code>${code.htmlEscape()}</code>" } + override fun formatList(text: String): String { + return "<ul>${text}</ul>" + } + + override fun formatListItem(text: String): String { + return "<li>${text}</li>" + } + override fun formatBreadcrumbs(items: Iterable<FormatLink>): String { return items.map { formatLink(it) }.joinToString(" / ") } |