Page MenuHomePhabricator

PP passes that run `atTopLevel` omit HTML stashed in data-mw
Open, NormalPublic

Description

In particular, there're the captions stored for inline media.

The cite extension has special handling for this,
https://github.com/wikimedia/parsoid/blob/1e920f1498b52bcabc3d675d2ac73e34d1113c26/lib/ext/Cite/References.js#L337-L373

but we should maybe find a more general mechanism.

Event Timeline

Arlolra created this task.Jan 30 2019, 10:47 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 30 2019, 10:47 PM
ssastry triaged this task as Normal priority.Apr 22 2019, 1:25 PM
ssastry edited projects, added Parsoid-Read-Views; removed Parsoid.
Arlolra updated the task description. (Show Details)Jun 28 2019, 1:27 PM