14 $entry = $this->afe->getTail();
15 if ( !$entry || $entry instanceof Marker || $entry->stackIndex !==
null ) {
21 $len = $this->stack->length();
23 $i = $this->stack->item( $len - 1 );
24 if ( $i->htmlName ===
'figcaption' ) {
27 if ( $i->htmlName ===
'figure' ) {
28 foreach ( $i->attrs->getValues() as $k => $v ) {
29 if ( $k ===
'typeof' && preg_match(
'/\bmw:File\b/', $v ) ) {
37 parent::reconstructAFE( $sourceStart );