|
@@ 2527-2540 (lines=14) @@
|
| 2524 |
|
$this->stack->insertHTMLElement( $value, $attribs ); |
| 2525 |
|
return true; |
| 2526 |
|
|
| 2527 |
|
case 'math': |
| 2528 |
|
$this->afe->reconstruct( $this->stack ); |
| 2529 |
|
# We skip the spec's "adjust MathML attributes" and |
| 2530 |
|
# "adjust foreign attributes" steps, since the browser will |
| 2531 |
|
# do this later when it parses the output and it doesn't affect |
| 2532 |
|
# balancing. |
| 2533 |
|
$this->stack->insertForeignElement( |
| 2534 |
|
BalanceSets::MATHML_NAMESPACE, $value, $attribs |
| 2535 |
|
); |
| 2536 |
|
if ( $selfclose ) { |
| 2537 |
|
# emit explicit </math> tag. |
| 2538 |
|
$this->stack->pop(); |
| 2539 |
|
} |
| 2540 |
|
return true; |
| 2541 |
|
|
| 2542 |
|
case 'svg': |
| 2543 |
|
$this->afe->reconstruct( $this->stack ); |
|
@@ 2542-2555 (lines=14) @@
|
| 2539 |
|
} |
| 2540 |
|
return true; |
| 2541 |
|
|
| 2542 |
|
case 'svg': |
| 2543 |
|
$this->afe->reconstruct( $this->stack ); |
| 2544 |
|
# We skip the spec's "adjust SVG attributes" and |
| 2545 |
|
# "adjust foreign attributes" steps, since the browser will |
| 2546 |
|
# do this later when it parses the output and it doesn't affect |
| 2547 |
|
# balancing. |
| 2548 |
|
$this->stack->insertForeignElement( |
| 2549 |
|
BalanceSets::SVG_NAMESPACE, $value, $attribs |
| 2550 |
|
); |
| 2551 |
|
if ( $selfclose ) { |
| 2552 |
|
# emit explicit </svg> tag. |
| 2553 |
|
$this->stack->pop(); |
| 2554 |
|
} |
| 2555 |
|
return true; |
| 2556 |
|
|
| 2557 |
|
case 'caption': |
| 2558 |
|
case 'col': |