#59540Viewhelpers htmlspecialchars and htmlentities never replace single quotes
Description
Both Viewhelper are documented with
Text with & " ' < > * replaced by HTML entities
In fact, single quotes will never be replaced. Replacing quotes depends on the flags parameter which is given to htmlspecialchars()/htmlentities(). Both Viewhelpers set this flag to either ENT_NOQUOTES or ENT_COMPAT. But for converting both, single and double quotes, ENT_QUOTES would be needed.