chiark / gitweb /
m.htmlsanity: fix an exception raised for .. contents:: with a title.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 9 Jan 2022 11:50:50 +0000 (12:50 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 9 Jan 2022 11:52:59 +0000 (12:52 +0100)
commitc661a654d3d3837dfae92e48bfccde19ceea6dad
tree0e078755ad1854fbf807b3506d329fdf7698b769
parent3f49eec8c73bc997008933f55ede32d7fe0198fe
m.htmlsanity: fix an exception raised for .. contents:: with a title.

I have a hunch I was looking at this corner case, but of course forgot
to actually try it out. Extending the test to prevent this from
regressing again in the future.
plugins/m/htmlsanity.py
plugins/m/test/htmlsanity_content/page.html
plugins/m/test/htmlsanity_content/page.rst