jenkins-bot has submitted this change and it was merged.

Change subject: Don't encode quotes or apostrophes.
......................................................................


Don't encode quotes or apostrophes.

Change-Id: I197ffd0168e5ffc62bc3b609359071502b1926b2
---
M js/tests/roundtrip-test.js
1 file changed, 1 insertion(+), 3 deletions(-)

Approvals:
  GWicke: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/js/tests/roundtrip-test.js b/js/tests/roundtrip-test.js
index 115b73d..9105bc7 100755
--- a/js/tests/roundtrip-test.js
+++ b/js/tests/roundtrip-test.js
@@ -60,9 +60,7 @@
 var encodeXmlEntities = function( str ) {
        return str.replace( /&/g, '&' )
                          .replace( /</g, '&lt;' )
-                         .replace( />/g, '&gt;' )
-                         .replace( /"/g, '&quot;' )
-                         .replace( /'/g, '&apos;' );
+                         .replace( />/g, '&gt;' );
 };
 
 var xmlCallback = function ( env, err, results ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/82866
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I197ffd0168e5ffc62bc3b609359071502b1926b2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Marcoil <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to