Describe the bug
Marked spans in the text are not saved correctly for HTML lists (ul, ol), when the dataset is stored as markdown.
To Reproduce
Create a dataset with a markdown list and use it for a project that has at least one span marker. Annotate a span on one of the list items (<li>), it will show correct annotations visually, but will end up being incorrectly saved (with wrong offsets).
Expected behavior
The saved offsets should be correct
Textinator version
Latest
Desktop (please complete the following information):
- OS: Ubuntu 22.10
- Browser: Firefox