exception attr tabindex can begin with '-'
This commit is contained in:
parent
995a6122f2
commit
82fc656863
|
@ -1763,6 +1763,9 @@ void CheckNumber( TidyDocImpl* doc, Node *node, AttVal *attval)
|
||||||
/* font size may be preceded by + or - */
|
/* font size may be preceded by + or - */
|
||||||
if ( nodeIsFONT(node) && (*p == '+' || *p == '-') )
|
if ( nodeIsFONT(node) && (*p == '+' || *p == '-') )
|
||||||
++p;
|
++p;
|
||||||
|
/* tabindex may be preceeded by - */
|
||||||
|
if (attval->attribute && (strcmp(attval->attribute,"tabindex") == 0) && (*p == '-'))
|
||||||
|
++p;
|
||||||
|
|
||||||
while (*p)
|
while (*p)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue