Open arabello opened 2 years ago
Generalizing this as other issue with HTML tags are emerging:
<br>
fails in git. Replacing it with <br>
<kbd>
fails in greek-letters-alt. Replacing it with backquotes.NB: String replacing is a temporary fix. This issue should be addressed using specific remark
and rehype
plugins or by writing a custom one.
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