Update Ant Design detection regex (#2404)

main
Wei Zhu 6 years ago committed by Elbert Alias
parent f0e16970d3
commit 949980f44c

@ -680,7 +680,7 @@
12 12
], ],
"html": [ "html": [
"<(?:div|button) class=\"ant-(?:btn|col|row|layout|breadcrumb|menu|pagination|steps|select|cascader|checkbox|calendar|form|input-number|input|mention|rate|radio|slider|switch|tree-select|time-picker|transfer|upload|avatar|badge|card|carousel|collapse|list|popover|tooltip|table|tabs|tag|timeline|tree|alert|modal|message|notification|progress|popconfirm|spin|anchor|back-top|divider)", "<[^>]*class=\"ant-(?:btn|col|row|layout|breadcrumb|menu|pagination|steps|select|cascader|checkbox|calendar|form|input-number|input|mention|rate|radio|slider|switch|tree-select|time-picker|transfer|upload|avatar|badge|card|carousel|collapse|list|popover|tooltip|table|tabs|tag|timeline|tree|alert|modal|message|notification|progress|popconfirm|spin|anchor|back-top|divider|drawer)",
"<i class=\"anticon anticon-" "<i class=\"anticon anticon-"
], ],
"icon": "Ant Design.svg", "icon": "Ant Design.svg",