chiark / gitweb /
m.htmlsanity: drop Flash-related code and fix compat with docutils 0.17.
authorVladimír Vondruš <mosra@centrum.cz>
Tue, 6 Apr 2021 15:28:45 +0000 (17:28 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Tue, 6 Apr 2021 15:28:45 +0000 (17:28 +0200)
commitf9ec8ea832313d37789ed078f5def98908b4be08
tree49c1a13b6de966498a976f4899c741772b29a02b
parent42d4a9a48f31f5df6e246c948403b54b50574a2a
m.htmlsanity: drop Flash-related code and fix compat with docutils 0.17.

That thing is DEAD so there's no reason to bother. This changed in
docutils 0.17, making the current version fail there. Funnily enough,
https://github.com/live-clones/docutils/commit/659c3f1e46f0c86609936c987b7e2a7a6ef89cb2
looks like they still seem to preserve that somehow. I won't, so all the
related code isn't needed.

The code here was originally taken from docutils but diverged
significantly and given that they still use the deprecated width/height
attribute I see no reason to even attempt cherry-picking their changes.
plugins/m/htmlsanity.py