aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/HtmlSearch.c1
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);