summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Farina <[email protected]>2013-05-02 08:51:54 -0500
committerMatt Farina <[email protected]>2013-05-02 08:51:54 -0500
commita759db37a02ad57eb41745ae3355e262ad5e16fd (patch)
treea29d5694aedd1c9c0c9f7697449fd8524ef4982f /src
parentec8a288ad752ab19fe3dcd392d5287eccb6da9d9 (diff)
Updated the property to be for more semantics.
Diffstat (limited to 'src')
-rw-r--r--src/HTML5/Elements.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/HTML5/Elements.php b/src/HTML5/Elements.php
index 7819baf..238c574 100644
--- a/src/HTML5/Elements.php
+++ b/src/HTML5/Elements.php
@@ -31,7 +31,7 @@ class Elements {
* The HTML5 elements as defined in http://dev.w3.org/html5/markup/elements.html.
* @var array
*/
- public static $elements = array(
+ public static $html5 = array(
"a" => 1,
"abbr" => 1,
"address" => 25, // NORMAL | VOID_TAG | AUTOCLOSE_P
@@ -340,7 +340,7 @@ class Elements {
// html5 element names are case insensetitive. Forcing lowercase for the check.
// Do we need this check or will all data passed here already be lowercase?
- return isset(self::$elements[strtolower($name)]);
+ return isset(self::$html5[strtolower($name)]);
}
/**
@@ -393,8 +393,8 @@ class Elements {
* Get the element mask for the given element name.
*/
public static function element($name) {
- if (isset(self::$elements[$name])) {
- return self::$elements[$name];
+ if (isset(self::$html5[$name])) {
+ return self::$html5[$name];
}
if (isset(self::$svg[$name])) {
return self::$svg[$name];