mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-14 11:16:44 +00:00
Make Parsoid HTML selectors more specific
'figure img' matches images in captions.
Follow-up to d3131db19e
.
Bug: T140574
Change-Id: I1ee50846191c9de19ca35d9bd40eb2d3001cf7f5
This commit is contained in:
parent
c22a5eeadd
commit
8c7a33429c
|
@ -136,7 +136,7 @@
|
|||
'.gallery .image img, ' +
|
||||
'a.image img, ' +
|
||||
'#file a img, ' +
|
||||
'figure[typeof*="mw:Image"] img, ' +
|
||||
'figure[typeof*="mw:Image"] > *:first-child > img, ' +
|
||||
'span[typeof*="mw:Image"] img'
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue