Fixed broken option callback; version bump to reflect.
This commit is contained in:
parent
f1cd84f853
commit
4e6d76eb01
|
@ -882,6 +882,8 @@ Bool TY_(ParseConfigOption)( TidyDocImpl* doc, ctmbstr optnam, ctmbstr optval )
|
||||||
recognizes it */
|
recognizes it */
|
||||||
if (NULL != doc->pOptCallback)
|
if (NULL != doc->pOptCallback)
|
||||||
status = (*doc->pOptCallback)( optnam, optval );
|
status = (*doc->pOptCallback)( optnam, optval );
|
||||||
|
if (NULL != doc->pConfigCallback )
|
||||||
|
status = status && (*doc->pConfigCallback)( tidyImplToDoc(doc), optnam, optval );
|
||||||
if (!status)
|
if (!status)
|
||||||
TY_(ReportUnknownOption)( doc, optnam );
|
TY_(ReportUnknownOption)( doc, optnam );
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
5.5.58
|
5.5.59
|
||||||
2017.10.05
|
2017.10.06
|
||||||
|
|
Loading…
Reference in a new issue