Converts a normal string into a string that can be treated as raw HTML.

This function is valid in v2.1.0 to v2.12.0. This function has been downloaded 12 times.


{string} str
The string to be converted to raw HTML.
{boolean=} optKeepWhitespace Optional, Default:false
If set to true the returned string will convert multiple, consecutive spaces to non-breaking spaces followed by one normal space. If set to true, line breaks will be converted to <br />.


HTMLified version of str.