| @@ 2895-2902 (lines=8) @@ | ||
| 2892 | ||
| 2893 | case 'applet': |
|
| 2894 | case 'marquee': |
|
| 2895 | case 'object': |
|
| 2896 | if ( !$this->stack->inScope( $value ) ) { |
|
| 2897 | return true; # ignore |
|
| 2898 | } |
|
| 2899 | $this->stack->generateImpliedEndTags(); |
|
| 2900 | $this->stack->popTag( $value ); |
|
| 2901 | $this->afe->clearToMarker(); |
|
| 2902 | return true; |
|
| 2903 | ||
| 2904 | case 'br': |
|
| 2905 | # Turn </br> into <br> |
|
| @@ 3334-3341 (lines=8) @@ | ||
| 3331 | } elseif ( $token === 'endtag' ) { |
|
| 3332 | switch ( $value ) { |
|
| 3333 | case 'td': |
|
| 3334 | case 'th': |
|
| 3335 | if ( $this->stack->inTableScope( $value ) ) { |
|
| 3336 | $this->stack->generateImpliedEndTags(); |
|
| 3337 | $this->stack->popTag( $value ); |
|
| 3338 | $this->afe->clearToMarker(); |
|
| 3339 | $this->switchMode( 'inRowMode' ); |
|
| 3340 | } |
|
| 3341 | return true; |
|
| 3342 | # OMITTED: <body> |
|
| 3343 | case 'caption': |
|
| 3344 | case 'col': |
|