Skip to content

Commit 0e0ced9

Browse files
author
Dusan
committed
encodeURIComponent
1 parent bbad969 commit 0e0ced9

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/QuickTranslateBundle/Resources/public/js/utilities/xmlRegReplace.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@ function xmlRegReplace(xml, replaceBack = false) {
1919
return xml.replace(/\s\s+/g, "")
2020
.replace(/\r?\n|\r/g, " ")
2121
.replace(/ /g, " ")
22-
.replace(/<br( \/)?>/g, "(br)")
23-
.replace(/&amp;/g, "%26")
24-
.replace(/&/g, "%26")
25-
.replace(/#/g, "(HaShTaG)");
22+
.replace(/<br( \/)?>/g, "(br)");
2623
};

0 commit comments

Comments
 (0)