Skip to content

Commit

Permalink
Fix HTML encoding issue in HTML editor
Browse files Browse the repository at this point in the history
  • Loading branch information
yeln4ts committed Jan 6, 2022
1 parent 01d10f8 commit d0d12dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/services/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ export default {
.replace(/ΩΠг\/h5ΏΠг/g, '</h5>')
.replace(/ΩΠгh6ΏΠг/g, '<h6>')
.replace(/ΩΠг\/h6ΏΠг/g, '</h6>')
.replace(/ΩΠг/g, '&lt;')
.replace(/ΏΠг/g, '&gt;')

return result
},
Expand Down

0 comments on commit d0d12dc

Please sign in to comment.