diff options
author | Matt Farina <[email protected]> | 2013-06-12 22:11:19 -0400 |
---|---|---|
committer | Matt Farina <[email protected]> | 2013-06-12 22:11:19 -0400 |
commit | 254ca181261fb5326dc3c9688562f800f18dd2e7 (patch) | |
tree | d330323a186fcc50f7369f43644e749326559215 /src | |
parent | 095e2df659c2636eeebfd87414da9264aca82c21 (diff) |
#4 and #7, Cleaned up the MathMl support and added a test.
Diffstat (limited to 'src')
-rw-r--r-- | src/HTML5/Serializer/OutputRules.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |