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