From d37cf2f32840779706154a3cddbb2239cd80fd84 Mon Sep 17 00:00:00 2001 From: Błażej Kardyś Date: Wed, 27 Nov 2019 17:45:33 +0100 Subject: Cleaning package naming --- core/src/main/kotlin/Utilities/Html.kt | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 core/src/main/kotlin/Utilities/Html.kt (limited to 'core/src/main/kotlin/Utilities/Html.kt') diff --git a/core/src/main/kotlin/Utilities/Html.kt b/core/src/main/kotlin/Utilities/Html.kt deleted file mode 100644 index de1ce1a5..00000000 --- a/core/src/main/kotlin/Utilities/Html.kt +++ /dev/null @@ -1,12 +0,0 @@ -package org.jetbrains.dokka - -import java.net.URLEncoder - - -/** - * Replaces symbols reserved in HTML with their respective entities. - * Replaces & with &, < with < and > with > - */ -fun String.htmlEscape(): String = replace("&", "&").replace("<", "<").replace(">", ">") - -fun String.urlEncoded(): String = URLEncoder.encode(this, "UTF-8") \ No newline at end of file -- cgit