Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird problem with <<! turning into bad HTML #188

Open
holyjak opened this issue Nov 19, 2024 · 1 comment
Open

Weird problem with <<! turning into bad HTML #188

holyjak opened this issue Nov 19, 2024 · 1 comment

Comments

@holyjak
Copy link
Member

holyjak commented Nov 19, 2024

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.

@daslu
Copy link
Member

daslu commented Nov 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants