Skip to content

Commit 4ec58bf

Browse files
mattfarinagoetas
authored andcommitted
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.
1 parent f71f663 commit 4ec58bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/HTML5/Serializer/Traverser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Traverser
1616
/**
1717
* Namespaces that should be treated as "local" to HTML5.
1818
*/
19-
static $local_ns = array(
19+
protected static $local_ns = array(
2020
'http://www.w3.org/1999/xhtml' => 'html',
2121
'http://www.w3.org/1998/Math/MathML' => 'math',
2222
'http://www.w3.org/2000/svg' => 'svg'

0 commit comments

Comments
 (0)