Skip to content

Commit 33fcfd4

Browse files
committed
refactor: fix lint warning on public/js/render.js
Signed-off-by: BoHong Li <[email protected]>
1 parent 73bc7ae commit 33fcfd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var filterXSSOptions = {
4444
onIgnoreTag: function (tag, html, options) {
4545
// allow comment tag
4646
if (tag === '!--') {
47-
// do not filter its attributes
47+
// do not filter its attributes
4848
return html.replace(/<(?!!--)/g, '&lt;').replace(/-->/g, '__HTML_COMMENT_END__').replace(/>/g, '&gt;').replace(/__HTML_COMMENT_END__/g, '-->')
4949
}
5050
},

0 commit comments

Comments
 (0)