1 2 3 4 5 6 7 8 9
package org.jetbrains.dokka /** * Replaces symbols reserved in HTML with their respective entities. * Replaces & with &, < with < and > with > */ public fun String.htmlEscape(): String = replace("&", "&").replace("<", "<").replace(">", ">")