From 630d0642fa02ce7d1288a7909e3197bd8f3ee079 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 27 Jun 2020 20:56:17 +0200 Subject: no error on custom tags --- src/HtmlSearch.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/HtmlSearch.c') 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); -- cgit v1.2.3