From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15440 invoked from network); 25 Jan 2021 10:07:26 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 25 Jan 2021 10:07:26 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 1ess; Sun Jan 24 18:51:35 -0500 2021 Received: from abbatoir.fios-router.home (pool-74-101-2-6.nycmny.fios.verizon.net [74.101.2.6]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id e4945af6 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Sun, 24 Jan 2021 15:51:26 -0800 (PST) Message-ID: <702591C9A529591D31144015531DC91F@eigenstate.org> To: 9front@9front.org Date: Sun, 24 Jan 2021 15:51:24 -0800 From: ori@eigenstate.org In-Reply-To: <48DB1AA516DB965474E6B2487192B8F8@prosimetrum.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: anonymous package ACPI CSS replication Subject: Re: [9front] htmlfmt anchor corner cases Reply-To: 9front@9front.org Precedence: bulk Quoth umbraticus@prosimetrum.com: > Thanks for having a look and for your comments, Ori. > > First attachment: another whack at libhtml. > > • full href/src urls where possible > • point directly to Item's Anchor, rather than have to look up by id > • no more AnchorDest: just use Anchor > • add anchor to Area struct, link to master anchor list > • sort anchor/image/form/table/map lists into order they appear in doc > • better table caption and drop-down form handling > • update documentation & programs using lib (htmlfmt & abaco) > > More tinkering could be done… though not sure what the point is > for just two programs, one of which throws most stuff away. Any > interest in an updated (html5) and better-integrated libhtml that > could be used by other programs that currently roll their own > parser (mothra, html2ms, maybe even the netsurf port)? netsurf isn't going to happen, they've very much got their own parser. the others make sense to me. big patch, I'll try to get to it in the next couple of days. Not sure how I feel about trying to go too markdown in the formatting, but that's an easy thing to play with.