Allow <figure-inline> attributes through Sanitizer
authorC. Scott Ananian <cscott@cscott.net>
Mon, 22 Apr 2019 16:47:48 +0000 (12:47 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Mon, 22 Apr 2019 17:04:49 +0000 (13:04 -0400)
commitf6038b0c81780b75a19a1126e9b1edd6b4301200
treea0aac38ebef920b4ac8b27a1facebf81c785d981
parentcfc60acc5678e276c23f18ccfe4f10f6d85932f1
Allow <figure-inline> attributes through Sanitizer

Parsoid uses <figure-inline> for inline figures.  The intention is to
transition core to use <figure> and <figure-inline> as well in the
future (T118517).  As a first step (and to keep Parsoid and the legacy
parser in sync) allow <figure-inline> attributes in the Sanitizer.

Note that this does not allow <figure-inline> in wikitext,
since neither <figure> nor <figure-inline> is on the
getRecognizedTagData() list.

Bug: T51097
Bug: T118517
Bug: T118520
Change-Id: I5248717739bef0f7106c2bcf0b4a15acbc3c9a68
includes/parser/Sanitizer.php