Environment
- Comark Version:
0.5.0
- Framework:
Vue
Comark Version
0.5.0
Reproduction
- Open the playground: https://comark.dev/play/editor?example=all-features
- Clear the editor and paste the markdown below
- Observe the rendered output — a stray
* appears at the end
Input to paste:
* **Preheat the oven:** Set the temperature to 200 degrees.
Description
When a list item's content ends with bold text (**text**) immediately followed by a colon-separated sentence ending in a period, comark appends an extra * character right after the closing punctuation.
Input
```md
- Preheat the oven: Set the temperature to 200 degrees.
```
Expected output
Preheat the oven: Set the temperature to 200 degrees.
Actual output
Preheat the oven: Set the temperature to 200 degrees.*
This is a minimal reproduction — a single list item with bold text at the start followed by plain text ending in a period is enough to trigger the bug. It is not specific to:
- list length or position within a list
- non-ASCII characters (reproduced with plain English/ASCII text)
It looks like an emphasis-marker parsing issue triggered when bold text is followed by additional text ending in a period at the end of a line/item.
Additional context
No response
Logs
Environment
0.5.0VueComark Version
0.5.0
Reproduction
*appears at the endInput to paste:
Description
When a list item's content ends with bold text (
**text**) immediately followed by a colon-separated sentence ending in a period, comark appends an extra*character right after the closing punctuation.Input
```md
```
Expected output
Actual output
This is a minimal reproduction — a single list item with bold text at the start followed by plain text ending in a period is enough to trigger the bug. It is not specific to:
It looks like an emphasis-marker parsing issue triggered when bold text is followed by additional text ending in a period at the end of a line/item.
Additional context
No response
Logs