diff --git a/library/vendor/ipl/Html/Attribute.php b/library/vendor/ipl/Html/Attribute.php
index 69a7e986..d8ac9a5c 100644
--- a/library/vendor/ipl/Html/Attribute.php
+++ b/library/vendor/ipl/Html/Attribute.php
@@ -58,7 +58,7 @@ class Attribute
*/
public function setName($name)
{
- if (! preg_match('/^[a-z][a-z:-]*$/i', $name)) {
+ if (! preg_match('/^[a-z][a-z0-9:-]*$/i', $name)) {
throw new ProgrammingError(
'Attribute names with special characters are not yet allowed: %s',
$name