taqueci / redmine_wysiwyg_editor

Redmine WYSIWYG Editor plugin
GNU General Public License v2.0
114 stars 27 forks source link

Bold text, followed by single space and line break, doesn't display properly #160

Open yennor opened 1 year ago

yennor commented 1 year ago

Feel free to change the subject to a better one ;-). I'm using https://github.com/agileware-jp/redmine_issue_templates to provide templates for bug reports. Something like:

**Timestamp of Bug:** 
**blabla:** 
**Username:** 

## Description

You can't see it, but there's a space after the three ":** ". The visual editor properly saves and displays the first space, but not the second and third one. So when the user tries to fill out the template, the cursor is set directly after the ":" and the editor will write it bold. As you can see in the attached screenshot: image

The markdown editor properly stores the spaces.

I guess the only use case where that matters is for templates....

taqueci commented 1 year ago

Hi @yennor

Sorry for late reply. I have not yet found a solution...