Highlighting doesn't work with Chinese characters


Hi there, I’m new to this community but I’ve been using StackEdit for about half a year. I love it.

This is a pretty minor bug that not a lot of people will run into, but I noticed that the ==text== formatting to highlight text gets really confused when using it with Chinese characters. Screenshots available in the issue thread: #1459.

Anyone have any ideas as to why the highlighting gets confused? Currently my workaround is to enter spaces around the text I want to highlight.

Thanks all.