Fixed broken option callback; version bump to reflect.

This commit is contained in:
Jim Derry 2017-10-06 09:41:54 -04:00
parent f1cd84f853
commit 4e6d76eb01
2 changed files with 4 additions and 2 deletions

View file

@ -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 );
} }

View file

@ -1,2 +1,2 @@
5.5.58 5.5.59
2017.10.05 2017.10.06