Closed tmattio closed 3 years ago
Thanks. It's most likely happening at the Markup.ml level (it might even be the standards-compliant thing to do....), I'll take a look shortly.
This should be fixed in Markup.ml master
by the above commit. Could you give it a try? Would you like a speedy release?
That works, thanks a lot @aantron! It's a rather specific bug, so nothing critical, but I'll add a lower bound once a release is out 🙂
The following code:
outputs:
As you can see the colon in front of the second
:class
attribute is removed somewhere in the pipeline.This is problematic as libraries such as AlpineJS use it, so removing the colons breaks HTML documents that make use of AlpineJS or similar libraries.