[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
modernizing html output
From: |
Per Bothner |
Subject: |
modernizing html output |
Date: |
Mon, 31 Dec 2018 13:14:28 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
See this old thread:
https://lists.gnu.org/archive/html/bug-texinfo/2016-02/msg00056.html
Attached is a simple patch to generate better-structured html.
It wraps all nodes (anything processed by _convert_heading_command) in a <div>
block.
It uses id="xx" instead of <a name="xx">. When I could, I attached the id to
existing
elements (or the new <div> block); otherwise I replaced the <a> by a <span>.
If people are concerned about breaking things, I suggested adding --html4 and
--html5
as new output options. Only --html5 would create the new-style output.
The existing --html flag would be an alias to --html4. After a release or two
we could
change the default so --html is a default for --html5.
--
--Per Bothner
address@hidden http://per.bothner.com/
html-convert.patch
Description: Text Data
- modernizing html output,
Per Bothner <=