Fixing <script/> tags in HTML content
Hello,
In the HyperKitty templates, <script/> tags are used (see eg https://gitlab.com/mailman/hyperkitty/-/blob/master/hyperkitty/templates/hyperkitty/base.html#L225-L235), while in (non x) HTML, the proper tag is <script></script>.
While django compressor takes care of fixing the tags when COMPRESS_ENABLED = True, if DEBUG = True is set, then COMPRESS_ENABLED = False becomes the default and in most versions of django-compressor, the <script/> tags are no longer fixed.
As I get it, HyperKitty's goal is not to support xHTML.
Would it be possible to replace all these tags with their proper HTML counterparts?
If you agree I can submit a MR.
Edited by Mark Sapiro