Correct configCallback logic fix.
This commit is contained in:
parent
d302559080
commit
4b1c048ee5
|
@ -941,7 +941,7 @@ int TY_(ParseConfigFileEnc)( TidyDocImpl* doc, ctmbstr file, ctmbstr charenc )
|
||||||
response = (*doc->pOptCallback)( name, buf );
|
response = (*doc->pOptCallback)( name, buf );
|
||||||
|
|
||||||
if ( doc->pConfigCallback )
|
if ( doc->pConfigCallback )
|
||||||
response = response & (*doc->pConfigCallback)( tidyImplToDoc(doc), name, buf );
|
response = response || (*doc->pConfigCallback)( tidyImplToDoc(doc), name, buf );
|
||||||
|
|
||||||
if ( !response && isDeprecated )
|
if ( !response && isDeprecated )
|
||||||
response = subDeprecatedOption( doc, name, buf);
|
response = subDeprecatedOption( doc, name, buf);
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
5.5.69
|
5.5.70
|
||||||
2017.10.19
|
2017.10.20
|
||||||
|
|
Loading…
Reference in a new issue