[Koha-bugs] [Bug 14703] Holidays description shows \r\n for every new line

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 27 16:28:44 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14703

--- Comment #6 from Joonas Kylmälä <j.kylmala at gmail.com> ---
(In reply to Joonas Kylmälä from comment #5)
> (In reply to Jonathan Druart from comment #4)
> > IMO this should be done after the input (and correct the values in DB), not
> > on display.
> 
> I tried that in a way that I left the new line character there, but then
> there was some JavaScript which refused to work with that. And if we put the
> <br> tag in the database I'm not sure if it will show in the description as
> the string <br> or as a new line. Let me try that.

But wait, I think I tried that and the <br> will show in the edit text box as
<br>.. So I came to the conclusion that it's much more better to have the fix
in only one place.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list