blob: a5a93d9e23ba422bad07130946e0de5443f1d1cc [file] [log] [blame]
package org.jetbrains.dokka
/**
* Replaces symbols reserved in HTML with their respective entities.
* Replaces & with &amp;, < with &lt; and > with &gt;
*/
fun String.htmlEscape(): String = replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;")