Hi all,

Just recompiled the latest edbrowse against the versions of tidy-html5 and
duktape available in Debian sid.  In order to get it to run I had to change
the call on html-tidy.c:129 from:
tidyOptSetBool(tdoc, TidyStyleTags, no);

to:
tidyOptSetInt(tdoc, TidyStyleTags, no);

As otherwise the browser aborts at runtime with an assertion error that the
option isn't a bool.

I'm not sure if this is a new change in the tidy lib or a Debian-specific
patch and, more importantly, how to fix this so it "just works" for
everyone.  I guess an ifdef is needed but I'm not sure against what?

Cheers,
Adam.

Reply via email to