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
{{ message }}
This repository was archived by the owner on Sep 27, 2024. It is now read-only.
We currently have a slight issue with converting html to markdown in the rust model. Issue is as follows:
html can support whitespace inside tags eg <em>hello </em> is valid html and if a user were to click italic, type 'hello ' and then click italic again to disable the italic mode, this is the html they would have input
when we convert this to markdown, the output is _hello _
this is not valid markdown due to the space before the final underscore
this means that if we try to parse that markdown back into html we get the output _hello _
In summary, converting html => markdown => html at the moment is not perfect due to the difference in how the formats handle whitespace at the end of a 'node'.
The text was updated successfully, but these errors were encountered:
We currently have a slight issue with converting html to markdown in the rust model. Issue is as follows:
<em>hello </em>
is valid html and if a user were to click italic, type 'hello ' and then click italic again to disable the italic mode, this is the html they would have input_hello _
_hello _
In summary, converting html => markdown => html at the moment is not perfect due to the difference in how the formats handle whitespace at the end of a 'node'.
The text was updated successfully, but these errors were encountered: