Skip to content

Commit a4022f1

Browse files
committed
Add 'href' as a standard property name for anchors
1 parent d095eda commit a4022f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AdvancedHTMLParser/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
'onoffline', 'ononline', 'onpagehide', 'onpageshow', 'onpopstate', 'onresize', 'onstorage', 'onunload'},
2828
'form' : {'onblur', 'onchange', 'oncontextmenu', 'onfocus', 'oninput', 'oninvalid', 'onreset', 'onsearch', 'onselect', 'onsubmit'},
2929
'menu' : {'onshow', },
30+
'a' : {'href', },
3031
'details' : {'ontoggle', },
3132
}
3233

0 commit comments

Comments
 (0)