Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
commit91ae7a47f98f6af6cf7cdb94bc734c8983d0a84e
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Mon, 30 Mar 2015 14:41:00 +0000 (30 14:41 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Mon, 30 Mar 2015 14:41:00 +0000 (30 14:41 +0000)
tree05dc2e3c448834bc0478cea254474f27b2b5b2d6
parent7782da0f265f5205f2cbdc68fdeaba74bb10d5d8
Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).

New approach: use <span class="subscript"> ... and CSS in literal blocks,
as <sup> and <sub> are explicitely forbidden in XHTML 1
http://www.w3.org/TR/xhtml1/#prohibitions
(but the validator does not check this)

Also: fix target in SVG image functional test.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7856 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/HISTORY.txt
docutils/docutils/writers/html4css1/__init__.py
docutils/docutils/writers/html4css1/html4css1.css
docutils/docutils/writers/xhtml11/__init__.py
docutils/docutils/writers/xhtml11/xhtml11.css
docutils/test/functional/expected/dangerous.html
docutils/test/functional/expected/standalone_rst_html4css1.html
docutils/test/functional/expected/standalone_rst_html_base.html
docutils/test/functional/expected/standalone_rst_xhtml11.xhtml
docutils/test/functional/input/data/svg_images.txt