Character replacement
For every matching input character, the result contains a character reference: & for &, < for <, and > for >. Quotation marks are encoded too, even though quotes do not delimit markup in an ordinary text node. After one HTML parse, these references produce the intended visible characters rather than tag or reference syntax.