diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-22 13:06:37 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-22 13:06:37 +0200 |
commit | fdcdf3e62230b8bf14d9ee22bb067040d173ea70 (patch) | |
tree | c1d55c476ded7bec781cafd71edd11410fc58983 | |
parent | 7edc6c0d896088cb981ea7bf60d929d62c7bb7e7 (diff) |
Fix crash on ubuntu with custom tags
-rw-r--r-- | src/HtmlSearch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HtmlSearch.c b/src/HtmlSearch.c index 9fb4daa..150437e 100644 --- a/src/HtmlSearch.c +++ b/src/HtmlSearch.c @@ -182,7 +182,7 @@ static int quickmedia_html_find_nodes(QuickMediaHtmlSearch *self, QuickMediaNode int quickmedia_html_search_init(QuickMediaHtmlSearch *self, const char *html_source) { self->doc = tidyCreate(); tidyOptSetBool(self->doc, TidyShowWarnings, no); - tidyOptSetBool(self->doc, TidyUseCustomTags, yes); + tidyOptSetInt(self->doc, TidyUseCustomTags, 1); tidyOptSetInt(self->doc, TidyWrapLen, 0); /* tidyOptSetBool(self->doc, TidyForceOutput, yes); */ if(tidyParseString(self->doc, html_source) < 0) { |