Skip to content

Commit

Permalink
replaced &quot with &#34 and &apos with &#39
Browse files Browse the repository at this point in the history
  • Loading branch information
honzi committed Jun 24, 2024
1 parent 9fa5385 commit a43467b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,11 @@ function core_html(args){
function core_html_format(string){
return core_replace_multiple({
'patterns': {
//'"': '"',
'&': '&',
'<': '&lt;',
'>': '&gt;',
'\'': '&apos;',
'\'': '&#39;',
'"': '&#34;',
'\n\r': '<br>',
},
'string': string,
Expand Down

0 comments on commit a43467b

Please sign in to comment.