Environment
Comark Version
https://comark.dev/play/editor on 2026-06-26
Reproduction
https://comark.dev/play/editor?example=all-features
with the following content:
Description
When two inline elements after one another occur, without a space, the latter is treated as text. Its body is then treated as a span.
Input
:b[text]:i[text]
Actual output
<b>text</b>:i<span>text</span>
Expected output
<b>text</b><i>text</i>
Additional context
No response
Logs
Environment
Comark Version
https://comark.dev/play/editor on 2026-06-26
Reproduction
https://comark.dev/play/editor?example=all-features
with the following content:
Description
When two inline elements after one another occur, without a space, the latter is treated as text. Its body is then treated as a span.
Input
:b[text]:i[text]Actual output
<b>text</b>:i<span>text</span>Expected output
<b>text</b><i>text</i>Additional context
No response
Logs