Htmlspecialchars

Fixes #330 Convert instances of htmlspecialchars