taqueci / redmine_wysiwyg_editor

Redmine WYSIWYG Editor plugin
GNU General Public License v2.0
116 stars 28 forks source link

Bug with attachments #74

Closed Berendor closed 4 years ago

Berendor commented 4 years ago

Hello If there is a problem with attachments, if you put more than one space between the text and attachment, then characters are inserted that break the link image image image

taqueci commented 4 years ago

Hi @Berendor

Thank you for your reporting. The issue has been confirmed on Chrome. I will try to solve.

taqueci commented 4 years ago

Note to self: Chrome

Input HTML
"foo" "foo"
"foo " (1 space) "foo "
"foo bar" (1 space) "xfoo bar"
"foo " (2 spaces) "foo  "
"foo bar" (2 spaces) "foo  bar"
"foo " (3 spaces) "foo   "
"foo bar" (3 spaces) "foo   bar"
"foo " (4 spaces) "foo    "
"foo bar" (4 spaces) "foo    bar"
taqueci commented 4 years ago

Note to self:

Input Firefox Chrome
a b (1 space) 61 20 62 61 20 62
a b (2 spaces) 61 c2a0 20 62 61 c2a0 20 62
a b (3 spaces) 61 c2a0 c2a0 20 62 61 c2a0 20 c2a0 62
a b (4 spaces) 61 c2a0 c2a0 c2a0 20 62 61 c2a0 20 c2a0 20 62
taqueci commented 4 years ago

The issue has been fixed.