Encodes special HTML characters ('<', '>', '&') into HTML entities. If inAttribute is true, '"' and '\'' are also encoded.
See Implementation
Encodes special HTML characters ('<', '>', '&') into HTML entities. If inAttribute is true, '"' and '\'' are also encoded.