Continue/fix "html" writer revision.
commitaa2b0544ec7725b447a80cdcbdfc4acac367eccb
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 7 Jan 2024 10:21:01 +0000 (7 10:21 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 7 Jan 2024 10:21:01 +0000 (7 10:21 +0000)
treea8aa7312e9d3ad03dec413fea008ab20c2f075b1
parent56cfb02cb8043d86a2b20f2322f1ac4004bab182
Continue/fix "html" writer revision.

More descriptive/correct variable names.

Newlines around block-level `<a>` elements (images with hyperlink ref).
Fix conditionals for newlines around `<img>` elements.

Report writer errors from inline nodes after the containing paragraph.
Test writer error reporting.

Fix CSS rule for inline images.
(Images with hyperlink are nested in `<a>` elements.)

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@9505 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/HISTORY.txt
docutils/docutils/writers/_html_base.py
docutils/docutils/writers/html4css1/__init__.py
docutils/docutils/writers/html5_polyglot/minimal.css
docutils/test/functional/expected/standalone_rst_html4css1.html
docutils/test/functional/expected/standalone_rst_html5.html
docutils/test/test_writers/test_html5_polyglot_parts.py