summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Farina <[email protected]>2015-06-23 10:48:04 -0400
committerAsmir Mustafic <[email protected]>2018-11-23 09:20:07 +0100
commit4ec58bff5be54d9883f8e268726f4d24506072e1 (patch)
tree58fb66685f02b1b833ac2af9876b719442217ba0 /src
parentf71f663bdee6d6a91331b2d1489e19fc29bb91cd (diff)
Setting variable for local namespaces to protected in writer.
The namespaces for mathml, html, and svg are set to protected so they cannot be altered. These are part of the spec.
Diffstat (limited to 'src')
-rw-r--r--src/HTML5/Serializer/Traverser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTML5/Serializer/Traverser.php b/src/HTML5/Serializer/Traverser.php
index e95dc36..399570d 100644
--- a/src/HTML5/Serializer/Traverser.php
+++ b/src/HTML5/Serializer/Traverser.php
@@ -16,7 +16,7 @@ class Traverser
/**
* Namespaces that should be treated as "local" to HTML5.
*/
- static $local_ns = array(
+ protected static $local_ns = array(
'http://www.w3.org/1999/xhtml' => 'html',
'http://www.w3.org/1998/Math/MathML' => 'math',
'http://www.w3.org/2000/svg' => 'svg'