skribilo-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/2] Improve HTML engine code


From: Ludovic Courtès
Subject: Re: [PATCH 0/2] Improve HTML engine code
Date: Sat, 09 Sep 2023 22:44:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi,

Arun Isaac <arunisaac@systemreboot.net> skribis:

> I'll be hacking on the HTML engine. This patchset improves the code
> for the HTML engine so that future modifications are easier. I'm just
> posting them here for a quick thumbs up that these changes are indeed
> in the desired direction.
>
> Arun Isaac (2):
>   html: Abstract out opening and closing of HTML tags.
>   html: Avoid single letter variable names.

Both are definitely worthwhile improvements! So here it is: 👍

It’d be tempting to use SXML in the HTML engine, but that’s probably
tricky (markup writers are supposed to directly spit out partial output)
and entails non-obvious tradeoffs (the whole SXML tree would have to be
kept in memory, there may still be corner cases where “real” HTML is not
SXML), plus the ‘!’ markup means that we need to be able to insert raw
HTML in the output.  So yeah, no SXML i guess.

I realize I’ve just been thinking out loud, thanks for listening.

Cheers,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]