From 254ca181261fb5326dc3c9688562f800f18dd2e7 Mon Sep 17 00:00:00 2001 From: Matt Farina Date: Wed, 12 Jun 2013 22:11:19 -0400 Subject: #4 and #7, Cleaned up the MathMl support and added a test. --- src/HTML5/Serializer/OutputRules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/HTML5') diff --git a/src/HTML5/Serializer/OutputRules.php b/src/HTML5/Serializer/OutputRules.php index bd97cb3..862ab55 100644 --- a/src/HTML5/Serializer/OutputRules.php +++ b/src/HTML5/Serializer/OutputRules.php @@ -57,7 +57,7 @@ class OutputRules implements \HTML5\Serializer\RulesInterface { $this->inSvg = TRUE; $name = Elements::normalizeSvgElement($name); break; - case 'mathml': + case 'math': $this->inMathMl = TRUE; break; } @@ -74,7 +74,7 @@ class OutputRules implements \HTML5\Serializer\RulesInterface { case 'svg': $this->inSvg = FALSE; break; - case 'mathml': + case 'math': $this->inMathMl = FALSE; break; } -- cgit v1.2.3