You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
next-mdx-remote fails to serialize the Markdown package description when a literal HTML tag is not self-closed, e.g. <br>. After a small investigation it seems there is not ready-to-go plugin to fix it, even though the underlying mdx-jsprovide a way to correctly render it.
A naive fix was to replace the tag to the corresponding self-closing one, e.g. <br> to </br> at string level. This should be done only for specific tags that are crashing current packages, as it is not a robust solution.
Leaving this open to eventually find a proper fix
The text was updated successfully, but these errors were encountered:
arabello
changed the title
Literal HTML tag that should be self-closed in Markdown fails to be serialized
Literal HTML in Markdown serialization fails
Apr 4, 2022
next-mdx-remote
fails to serialize the Markdown package description when a literal HTML tag is not self-closed, e.g.<br>
. After a small investigation it seems there is not ready-to-go plugin to fix it, even though the underlyingmdx-js
provide a way to correctly render it.A naive fix was to replace the tag to the corresponding self-closing one, e.g.
<br>
to</br>
at string level. This should be done only for specific tags that are crashing current packages, as it is not a robust solution.Leaving this open to eventually find a proper fix
The text was updated successfully, but these errors were encountered: