mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
Merge "Blacklist images with data URLs"
This commit is contained in:
commit
69f0ff1016
|
@ -274,6 +274,7 @@ ve.init.mw.Target.prototype.getHtml = function ( newDoc, oldDoc ) {
|
|||
'object, ' + // T65229
|
||||
'style:not( [ data-mw ] ), ' + // T55252, but allow <style data-mw/> e.g. TemplateStyles T188143
|
||||
'embed, ' + // T53521, T54791, T65121
|
||||
'img[src^="data:"], ' + // T192392
|
||||
'div[id="myEventWatcherDiv"], ' + // T53423
|
||||
'div[id="sendToInstapaperResults"], ' + // T63776
|
||||
'div[id="kloutify"], ' + // T69006
|
||||
|
|
Loading…
Reference in a new issue