Markwon icon indicating copy to clipboard operation
Markwon copied to clipboard

Editor (Multiple edit spans): invalid spans

Open rt1shnik opened this issue 4 years ago • 1 comments

Markwon v4.6.1. To reproduce a bug you can use sample app (Multiple edit spans):

Screenshot from 2021-01-19 18-38-02

Text italic bold should be italic and bold, but it is just bold. Text bold at the end of line should be bold, but it is italic and bold.

Expected behavior should be like this: Screenshot from 2021-01-19 18-50-19


Another example: Screenshot from 2021-01-19 18-57-42

Should be: Screenshot from 2021-01-19 18-59-06

rt1shnik avatar Jan 19 '21 16:01 rt1shnik

Hello @rt1shnik ,

yes, it seems editor is incorrectly identifying delimited content (strong and regular emphasis). The problem lies in MarkwonEditorUtils.findDelimited method

noties avatar Jan 24 '21 20:01 noties