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:
Ed Sanders 2016-07-18 10:45:36 +01:00 committed by Bartosz Dziewoński
parent c22a5eeadd
commit 8c7a33429c

View file

@ -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'
);