core-ktx / androidx.text / kotlin.String / htmlEncode

htmlEncode

inline fun String.htmlEncode(): String

Html-encode the string.

See Also

TextUtils.htmlEncode