From mboxrd@z Thu Jan 1 00:00:00 1970 X-Greylist: delayed 557 seconds by postgrey-1.37 at hurricane; Sat, 07 Dec 2019 10:53:31 PST Received: from nautica.notk.org (nautica.notk.org [91.121.71.147]) by hurricane.the-brannons.com (Postfix) with ESMTPS id B176E7B35A for ; Sat, 7 Dec 2019 10:53:31 -0800 (PST) Received: by nautica.notk.org (Postfix, from userid 1001) id D0D13C01A; Sat, 7 Dec 2019 19:44:09 +0100 (CET) Date: Sat, 7 Dec 2019 19:43:54 +0100 From: Dominique Martinet To: Adam Thompson Cc: edbrowse-dev@edbrowse.org Subject: Re: [edbrowse-dev] tidySetOptBool vs tidySetOptInt on debian Message-ID: <20191207184354.GA5418@nautica> References: <20191207171534.GA194728@toaster> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191207171534.GA194728@toaster> User-Agent: Mutt/1.5.21 (2010-09-15) Hi, Adam Thompson wrote on Sat, Dec 07, 2019: > 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. That is surpising, I just checked Tidy code and 'TidyStyleTags' is a bool no matter how I look at it, including in debian sid sources and the latest git. I don't know what can be done for that... I'll try to reproduce tonight -- Dominique