Merge pull request #323 from htacg/squelch_null_prefix
Allows null value css-prefix to be used in a config file without issu…
This commit is contained in:
commit
c65cf43061
|
@ -1206,7 +1206,10 @@ Bool ParseCSS1Selector( TidyDocImpl* doc, const TidyOptionImpl* option )
|
||||||
}
|
}
|
||||||
buf[i] = '\0';
|
buf[i] = '\0';
|
||||||
|
|
||||||
if ( i == 0 || !TY_(IsCSS1Selector)(buf) ) {
|
if ( i == 0 ) {
|
||||||
|
return no;
|
||||||
|
}
|
||||||
|
else if ( !TY_(IsCSS1Selector)(buf) ) {
|
||||||
TY_(ReportBadArgument)( doc, option->name );
|
TY_(ReportBadArgument)( doc, option->name );
|
||||||
return no;
|
return no;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue