clay icon indicating copy to clipboard operation
clay copied to clipboard

Weird problem with `<<!` turning into bad HTML

Open holyjak opened this issue 1 year ago • 1 comments

When I use Clay to eval the top-level expression (k/md "TEST! <<! TEST2") then it works just fine. But if I instead insert the same code at line 46 of https://github.com/scicloj/wolframite/blob/b9172d54999031e7259758a4a86764ad1c80a5c8/notebooks/advanced/packages.clj and try to render the whole file, then it turns into

<p>TEST! &lt;<!-- TEST2</p--></p>

I've tried to replace a part with &lt;&lt;&excl; but got the same result.

holyjak avatar Nov 19 '24 22:11 holyjak

Thanks, @holyjak!

We should look into that.

For now, if this blocks your work on Wolframite, you may try adding a postprocessing function that would fix the broken HTML.

See the :post-process example in the Clay API examples.

daslu avatar Nov 20 '24 21:11 daslu