diff --git a/HTMLparser.c b/HTMLparser.c
index 1d6f3218..dff8e1df 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -1177,7 +1177,7 @@ static const char *const htmlScriptAttributes[] = {
"onfocus",
"onblur",
"onsubmit",
- "onrest",
+ "onreset",
"onchange",
"onselect"
};