noties / Markwon

Android markdown library (no WebView)
https://noties.io/Markwon/
Apache License 2.0
2.76k stars 313 forks source link

Highlight single punctuation marks as Bold. #401

Open vitali58AC opened 2 years ago

vitali58AC commented 2 years ago

Hello, I ran into such a problem - if at the end of a word you select any punctuation mark (dot, slash, etc.) as BOLD, then instead of highlighting, the output will be Word **.** . Is it possible to solve this problem?

For example for this string: Text. I expect to get text with bold dot: Text. but I get: "Text**.**"

Words and single letters are highlighted with BOLD without problems, and also if you put a space before the punctuation mark.

I would be very grateful for any help, thanks!