Open rt1shnik opened 3 years ago
Markwon v4.6.1. To reproduce a bug you can use sample app (Multiple edit spans):
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.
italic bold
bold
Expected behavior should be like this:
Another example:
Should be:
Hello @rt1shnik ,
yes, it seems editor is incorrectly identifying delimited content (strong and regular emphasis). The problem lies in MarkwonEditorUtils.findDelimited method
MarkwonEditorUtils.findDelimited
Markwon v4.6.1. To reproduce a bug you can use sample app (Multiple edit spans):
Text
italic bold
should be italic and bold, but it is just bold. Textbold
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](https://user-images.githubusercontent.com/4016063/105058386-35862280-5a87-11eb-8fcd-8a3ee4cc1582.png)
Another example:![Screenshot from 2021-01-19 18-57-42](https://user-images.githubusercontent.com/4016063/105059386-44b9a000-5a88-11eb-98ec-193a00e5f85b.png)
Should be:![Screenshot from 2021-01-19 18-59-06](https://user-images.githubusercontent.com/4016063/105059516-6e72c700-5a88-11eb-9603-fd94dea3a1e9.png)