is there method in kotlin that allows to unescape ...
# getting-started
g
is there method in kotlin that allows to unescape html chars? E.g convert ' -> ' , & as &(ampersand), % as % and so on
o
Escaping aims for a specific purpose. Here you need to escape for HTML, but someone else will escape for SQL, and someone else for another platform, and so on. I don't think Kotlin will offer escaping for every systems 🙂
Don't know what is your final goal, but there is an official library available on Github https://github.com/Kotlin/kotlinx.html Maybe it can help you.
305 Views