Ensures HTML entities are recognized in script blocks in a context where CDATA is allowed.