The filename needs to be HTML-escaped now -- `StringUtils.htmlEscape(range.textRange.document.file.name)`