Cscott has uploaded a new change for review.
https://gerrit.wikimedia.org/r/233835
Change subject: Fix the profile quoting in our content type strings
......................................................................
Fix the profile quoting in our content type strings
Occasionally a wild double quote will wander into my supply of
erstwhile domesticated double quotes. The wild ones cause all
sorts of trouble, jumping around and knocking things over. In
this case, the wild double quote went for a walkabout to the end
of its line. We're lucky it didn't fall clear off the edge.
Corral the wild double quote and replace it with a domesticated
double quote who has promised me it won't wander off.
Follow up to Ie875223014941d6eeb86c4d054e1142aacbf3254.
Change-Id: Ib9759b7254e15491068f5ae3449d48d30e3d9648
---
M lib/mediawiki.DOMPostProcessor.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid
refs/changes/35/233835/1
diff --git a/lib/mediawiki.DOMPostProcessor.js
b/lib/mediawiki.DOMPostProcessor.js
index 7976f5f..f6dcaf8 100644
--- a/lib/mediawiki.DOMPostProcessor.js
+++ b/lib/mediawiki.DOMPostProcessor.js
@@ -344,7 +344,7 @@
var script = document.createElement("script");
DU.addAttributes(script, {
id: "mw-data-parsoid",
- type:
'application/json;profile="mediawiki.org/specs/data-parsoid/0.0.1;charset=utf-8"',
+ type:
'application/json;profile="mediawiki.org/specs/data-parsoid/0.0.1";charset=utf-8',
});
script.appendChild(document.createTextNode(dp));
document.head.appendChild(script);
--
To view, visit https://gerrit.wikimedia.org/r/233835
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib9759b7254e15491068f5ae3449d48d30e3d9648
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits