summaryrefslogtreecommitdiff
path: root/src/HTML5
diff options
context:
space:
mode:
authorAsmir Mustafic <[email protected]>2018-11-24 19:51:44 +0100
committerGitHub <[email protected]>2018-11-24 19:51:44 +0100
commite3d1145505a17e7af5a2f0dc3532d480ab8b4cff (patch)
tree81a06f4f886727d78df7119f0143b131eafb0d56 /src/HTML5
parent054b1fe0392f35ecc4004a90e0fcf4e400259b25 (diff)
parent5fc632676eeb0c34ee8a66f6ebf8c39985766f08 (diff)
Merge pull request #156 from stof/fix_typo
Fix typos in comments
Diffstat (limited to 'src/HTML5')
-rw-r--r--src/HTML5/Elements.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/HTML5/Elements.php b/src/HTML5/Elements.php
index 6a46f5a..3cb6093 100644
--- a/src/HTML5/Elements.php
+++ b/src/HTML5/Elements.php
@@ -352,7 +352,7 @@ class Elements
);
/**
- * Some attributes in SVG are case sensetitive.
+ * Some attributes in SVG are case sensitive.
*
* This map contains key/value pairs with the key as the lowercase attribute
* name and the value with the correct casing.
@@ -423,7 +423,7 @@ class Elements
);
/**
- * Some SVG elements are case sensetitive.
+ * Some SVG elements are case sensitive.
* This map contains these.
*
* The map contains key/value store of the name is lowercase as the keys and
@@ -498,7 +498,7 @@ class Elements
*/
public static function isHtml5Element($name)
{
- // html5 element names are case insensetitive. Forcing lowercase for the check.
+ // html5 element names are case insensitive. Forcing lowercase for the check.
// Do we need this check or will all data passed here already be lowercase?
return isset(static::$html5[strtolower($name)]);
}
@@ -513,7 +513,7 @@ class Elements
*/
public static function isMathMLElement($name)
{
- // MathML is case-sensetitive unlike html5 elements.
+ // MathML is case-sensitive unlike html5 elements.
return isset(static::$mathml[$name]);
}
@@ -527,7 +527,7 @@ class Elements
*/
public static function isSvgElement($name)
{
- // SVG is case-sensetitive unlike html5 elements.
+ // SVG is case-sensitive unlike html5 elements.
return isset(static::$svg[$name]);
}