[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix JS optimisation pages
- Subject: Re: Fix JS optimisation pages
- From: Chris Warburton
- Date: Mon, 25 Feb 2019 15:41:39 +0000
- In-reply-to: <bdb49661031a8fa1-0-artemis@nixos>
- References: <bdb49661031a8fa1-0-artemis@nixos>
Turns out to be a pandoc bug where '<script ...></script>' gets turned
into '<script .../>' which is invalid.
Putting a newline in between the open and close tags seems to avoid
this.
I've added a test which checks for such invalid elements (you'd think
tidy-html5 would do it, but no...)