escape useragent before displaying
I prefer this..
Merge pull request #2261 from ether/fix-xss-on-useragent

Fix xss on useragent