Convert data-association-insertion-template to string before escaping to html.