fix template escaping and multiline comments