#272 Encoding HTML before sending to view