Skip to content

Commit

Permalink
Merge pull request #29 from quicktranslate-module/master-3.x
Browse files Browse the repository at this point in the history
'&'- encoding fix-change
  • Loading branch information
asioso authored Nov 13, 2023
2 parents 2542a96 + 5f64ffe commit d27f4af
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function xmlRegReplace(xml, replaceBack = false) {
.replace(/\r?\n|\r/g, " ")
.replace(/ /g, " ")
.replace(/<br( \/)?>/g, "(br)")
.replace(/&amp;/g, "AmP;")
.replace(/ & /g, "AmP;")
.replace(/&amp;/g, "%26")
.replace(/&/g, "%26")
.replace(/#/g, "(HaShTaG)");
};

0 comments on commit d27f4af

Please sign in to comment.