When editing a comment, when entering two quotes on the same line, the comment is lost
As admin, when editing a comment, if I enter text in the comment, with quotes, the whole comment is lost..
Login as admin.
In a bug/task, click the edit button (pencil icon) next to a comment.
Add a new line and enter the text (including quotes):
----> The comment is now: added comment. Everything else was lost.
Updated by Ján Regeš about 11 years ago
I have better steps to reproduce this bug. We have Redmine 1.2.2 (and now, for us it's difficult to upgrade to newer version - we have too much custom modifications done by "dirty solutions" .. our upgrade is planned to the beginning of next year).
When on line is just text, which have quotes (") on start and end of line, only this one line (in quotes) is displayed. Nothing else (see example below). When you add before/after quotes some character or whitespace, everything is OK (whole text is displayed).
This is affected in preview and also in normal view of saved comment/text.
In current Redmine version 2.0.3 it works OK. It's possible to tell me, which commit/bugfix fixed it? We'll patch it.. Thank you.
Updated by Alex Kosiaris about 11 years ago
Just downloaded two vm images from bitnami.org and tried
Redmine 1.3.2.stable (MySQL)
Redmine 1.4.4.stable (MySQL)
and failed to reproduce it in both cases. So I guess the issue was fixed somewhere between 1.2.2 and 1.3.2
That being said
git log --oneline 1.2.2..1.3.2 | wc -l
returns 2032 individual commits...