aboutsummaryrefslogtreecommitdiff
path: root/src/Utilities
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-14 19:34:52 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-14 19:34:52 +0400
commit68d3bc8d76e550f98cf768362eb311d0cc4f3a0d (patch)
tree5ae62771d6392ef81cf996db6b317610739b56fd /src/Utilities
parent1aa62f8071939f1a2b3640e00378cd86b8599b9c (diff)
downloaddokka-68d3bc8d76e550f98cf768362eb311d0cc4f3a0d.tar.gz
dokka-68d3bc8d76e550f98cf768362eb311d0cc4f3a0d.tar.bz2
dokka-68d3bc8d76e550f98cf768362eb311d0cc4f3a0d.zip
Beautification and documentation.
Diffstat (limited to 'src/Utilities')
-rw-r--r--src/Utilities/Html.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Utilities/Html.kt b/src/Utilities/Html.kt
new file mode 100644
index 00000000..a4fd5fae
--- /dev/null
+++ b/src/Utilities/Html.kt
@@ -0,0 +1,4 @@
+package org.jetbrains.dokka
+
+fun String.htmlEscape() = replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;")
+