@@ 2733-2746 (lines=14) @@ | ||
2730 | $this->stack->insertHTMLElement( $value, $attribs ); |
|
2731 | return true; |
|
2732 | ||
2733 | case 'math': |
|
2734 | $this->afe->reconstruct( $this->stack ); |
|
2735 | // We skip the spec's "adjust MathML attributes" and |
|
2736 | // "adjust foreign attributes" steps, since the browser will |
|
2737 | // do this later when it parses the output and it doesn't affect |
|
2738 | // balancing. |
|
2739 | $this->stack->insertForeignElement( |
|
2740 | BalanceSets::MATHML_NAMESPACE, $value, $attribs |
|
2741 | ); |
|
2742 | if ( $selfClose ) { |
|
2743 | // emit explicit </math> tag. |
|
2744 | $this->stack->pop(); |
|
2745 | } |
|
2746 | return true; |
|
2747 | ||
2748 | case 'svg': |
|
2749 | $this->afe->reconstruct( $this->stack ); |
|
@@ 2748-2761 (lines=14) @@ | ||
2745 | } |
|
2746 | return true; |
|
2747 | ||
2748 | case 'svg': |
|
2749 | $this->afe->reconstruct( $this->stack ); |
|
2750 | // We skip the spec's "adjust SVG attributes" and |
|
2751 | // "adjust foreign attributes" steps, since the browser will |
|
2752 | // do this later when it parses the output and it doesn't affect |
|
2753 | // balancing. |
|
2754 | $this->stack->insertForeignElement( |
|
2755 | BalanceSets::SVG_NAMESPACE, $value, $attribs |
|
2756 | ); |
|
2757 | if ( $selfClose ) { |
|
2758 | // emit explicit </svg> tag. |
|
2759 | $this->stack->pop(); |
|
2760 | } |
|
2761 | return true; |
|
2762 | ||
2763 | case 'caption': |
|
2764 | case 'col': |