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