Fix XSS issue in suggestion template.

This pull request solves #964.