minor code style
Use encoding function to avoid displaying extra entities