[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] spans (open+close tag) in prettysrc don't close when attr
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] spans (open+close tag) in prettysrc don't close when attribute ends by WHITE |
Date: |
Thu, 5 Jan 2006 20:10:54 -0500 (EST) |
On Thu, 5 Jan 2006, Rado S wrote:
and have
PRETTYSRC_SPEC:ATTRIB:b:!b
in your lynx.cfg, then the "nowrap" will cause the rest of the
file to be bold, ignoring all other tags and their prettysrc
specs.
hmm - I do see a problem (the "blub" is miscolored). I suppose the
symptom depends on the actual colors available.
Even though an attribute without value assignment might not be
correct by standard, it still shouldn't break the prettyprinting.
Or is there are reasoning for breaking the prettyprinting?
Why not treat prematurely WHITE-ended attribute as "badattr" instead?
perhaps - I'll have to test that, to see the effect.
(I recall that making changes to SGML.c isn't always simple).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net