edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Adam Thompson <arthompson1990@gmail.com>
To: edbrowse-dev@edbrowse.org
Subject: [edbrowse-dev] tidySetOptBool vs tidySetOptInt on debian
Date: Sat, 7 Dec 2019 17:15:34 +0000	[thread overview]
Message-ID: <20191207171534.GA194728@toaster> (raw)

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	other threads:[~2019-12-07 17:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-07 17:15 Adam Thompson [this message]
2019-12-07 18:43 ` Dominique Martinet
2019-12-07 19:01   ` Alfonso S. Siciliano
2019-12-07 19:34     ` Dominique Martinet
2019-12-07 19:49       ` Adam Thompson
2019-12-07 21:45         ` alf.siciliano
2019-12-07 22:16           ` Dominique Martinet
2019-12-08  2:29             ` Geoff McLane
2019-12-08  3:56               ` Karl Dahlke
2019-12-08  8:08                 ` Alfonso Sabato Siciliano
2019-12-08  8:07               ` Dominique Martinet
2019-12-08 13:22               ` Adam Thompson
2019-12-08 21:22                 ` Geoff McLane
2019-12-07 19:44     ` Adam Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191207171534.GA194728@toaster \
    --to=arthompson1990@gmail.com \
    --cc=edbrowse-dev@edbrowse.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).