| @@ 2425-2434 (lines=10) @@ | ||
| 2422 | # OMITTED: frameset_ok |
|
| 2423 | return true; |
|
| 2424 | ||
| 2425 | case 'table': |
|
| 2426 | # The document is never in "quirks mode"; see simplifications |
|
| 2427 | # above. |
|
| 2428 | if ( $this->stack->inButtonScope( 'p' ) ) { |
|
| 2429 | $this->inBodyMode( 'endtag', 'p' ); |
|
| 2430 | } |
|
| 2431 | $this->stack->insertHTMLElement( $value, $attribs ); |
|
| 2432 | # OMITTED: frameset_ok |
|
| 2433 | $this->switchMode( 'inTableMode' ); |
|
| 2434 | return true; |
|
| 2435 | ||
| 2436 | case 'area': |
|
| 2437 | case 'br': |
|
| @@ 2464-2470 (lines=7) @@ | ||
| 2461 | $this->stack->pop(); |
|
| 2462 | return true; |
|
| 2463 | ||
| 2464 | case 'hr': |
|
| 2465 | if ( $this->stack->inButtonScope( 'p' ) ) { |
|
| 2466 | $this->inBodyMode( 'endtag', 'p' ); |
|
| 2467 | } |
|
| 2468 | $this->stack->insertHTMLElement( $value, $attribs ); |
|
| 2469 | $this->stack->pop(); |
|
| 2470 | return true; |
|
| 2471 | ||
| 2472 | case 'image': |
|
| 2473 | # warts! |
|
| @@ 2503-2509 (lines=7) @@ | ||
| 2500 | */ |
|
| 2501 | ||
| 2502 | case 'optgroup': |
|
| 2503 | case 'option': |
|
| 2504 | if ( $this->stack->currentNode()->isA( 'option' ) ) { |
|
| 2505 | $this->inBodyMode( 'endtag', 'option' ); |
|
| 2506 | } |
|
| 2507 | $this->afe->reconstruct( $this->stack ); |
|
| 2508 | $this->stack->insertHTMLElement( $value, $attribs ); |
|
| 2509 | return true; |
|
| 2510 | ||
| 2511 | case 'rb': |
|
| 2512 | case 'rtc': |
|