Reference notes
How HTML decoding works
HTML decoding converts entities such as & or numeric references back into characters.
The decoder should preserve clarity around malformed or unknown entities instead of making surprising substitutions.
HTML decoder examples
The value Tom & Jerry decodes to Tom & Jerry.
Numeric references such as © should decode to their corresponding Unicode characters.
HTML decoder FAQ
Decoding entities can turn safe-looking text into real markup characters.
If decoded output is inserted into a page, it may need to be encoded again for the final context.
HTML decoder references
Reference material should cover named HTML entities, numeric references, and Unicode output.
Future notes can explain how browsers handle legacy entity names.
HTML decoder developer examples
Developer examples should show decoding stored text and then safely rendering it.
Examples should warn against using decoded text directly as trusted HTML.