diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-06-27 20:56:17 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-06-27 20:56:17 +0200 |
commit | 630d0642fa02ce7d1288a7909e3197bd8f3ee079 (patch) | |
tree | 815e3bb07f2e5d57095d52bdfb1bef7b3b450722 /src | |
parent | b2fd63ad96469b450eb98a8034073f5a8c1cb95c (diff) |
no error on custom tags
Diffstat (limited to 'src')
-rw-r--r-- | src/HtmlSearch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/HtmlSearch.c b/src/HtmlSearch.c index abb04d6..8a6352e 100644 --- a/src/HtmlSearch.c +++ b/src/HtmlSearch.c @@ -104,6 +104,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); /* tidyOptSetBool(self->doc, TidyForceOutput, yes); */ if(tidyParseString(self->doc, html_source) < 0) { tidyRelease(self->doc); |