Cscott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/76734


Change subject: Whitelist the <wbr> element.
......................................................................

Whitelist the <wbr> element.

This was whitelisted by the PHP parser in change
If4a4882155888606c960237be0fbe7933a85c5f9.

Change-Id: I1e41a51487b12ff8c193a91ca2924c2ab1724035
---
M js/lib/ext.core.Sanitizer.js
M js/lib/mediawiki.wikitext.constants.js
2 files changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid 
refs/changes/34/76734/1

diff --git a/js/lib/ext.core.Sanitizer.js b/js/lib/ext.core.Sanitizer.js
index 7c2a8ec..8ca3c9c 100644
--- a/js/lib/ext.core.Sanitizer.js
+++ b/js/lib/ext.core.Sanitizer.js
@@ -548,7 +548,8 @@
                                'figcaption' : common,
 
                                // HTML 5 section 4.6
-                               'bdi' : common
+                               'bdi' : common,
+                               'wbr' : common
                        };
                }
 
diff --git a/js/lib/mediawiki.wikitext.constants.js 
b/js/lib/mediawiki.wikitext.constants.js
index 38a7b19..bb5e814 100644
--- a/js/lib/mediawiki.wikitext.constants.js
+++ b/js/lib/mediawiki.wikitext.constants.js
@@ -84,7 +84,7 @@
                        'rb', 'rp', 'rt', 'ruby',
                        's', 'samp', 'small', 'span', 'strike', 'strong', 
'sub', 'sup',
                        'table', 'td', 'th', 'tr', 'tt',
-                       'u', 'ul'
+                       'u', 'ul', 'wbr'
                ]
        }
 };

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e41a51487b12ff8c193a91ca2924c2ab1724035
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>

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

Reply via email to