Improved escaping in HTML SMS template