This was just added in the latest version (2021.12.15). It might only be available on the Dev Branch right now.
Converts a string to its escaped, markup-safe equivalent.
1 string text
The string to sanitize.
1 string sanitizedText
The parsed markup object ready to be drawn.