Entities in attributes have limitations on ending characters.
Entities in text nodes that can end with any character.
Only allow entities terminated with a semicolon.
Entities in attributes have limitations on ending characters.