Skip to content

Commit

Permalink
refactor: remove xssFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
Liusiyuan-git committed Jan 14, 2023
1 parent 445dac6 commit 46a576d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/article/component/form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function editArticle() {
function setArticleParams() {
date = new Date()
articleParams["title"] = title.value
articleParams["html"] = xssFilter(editor.value.getHtml())
articleParams["html"] = editor.value.getHtml()
articleParams["update"] = date.toLocaleDateString()
articleParams["tags"] = form.value["tags"].join(";")
articleParams["auth"] = form.value["auth"]
Expand Down

0 comments on commit 46a576d

Please sign in to comment.