package org.jetbrains.dokka | |
/** | |
* Replaces symbols reserved in HTML with their respective entities. | |
* Replaces & with &, < with < and > with > | |
*/ | |
fun String.htmlEscape(): String = replace("&", "&").replace("<", "<").replace(">", ">") |