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
There have been some changes to the spec around treatment of spaces at the beginning and end of inline code since the commonmark renderer was written; it needs some updating.
To understand the HTML output, see the spec.
"If the resulting string both begins and ends with a space character, but does not consist entirely of space characters, a single space character is removed from the front and back. This allows you to include code that begins or ends with backtick characters, which must be separated by whitespace from the opening or closing backtick strings."
If the inline code starts or ends with a space then strange things happen when rendering as CommonMark:
If the inline code contains just spaces, then repeated parsing and rerendering makes the string get longer and longer.
HTML output is also a bit strange:
The text was updated successfully, but these errors were encountered: