Replaces characters (less than, greater than, newlines and quotes) with their HTML entities in the given string and returns the result.
String that contains the characters to be converted.
If newlines should be replaced. Default is true.
true
Replaces characters (less than, greater than, newlines and quotes) with their HTML entities in the given string and returns the result.