Do not use htmlspecialchars in view scripts

fixes #6759