Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   Duplicated \n in "plain" format with new WebKit, posted by Andrey on Tue Dec 27 12:44:52 2022 
    icon2.gif   bug report to webkit.org , posted by Andrey on Wed Dec 28 16:09:30 2022 
    icon2.gif   a hack around, posted by Andrey on Thu Dec 29 20:26:11 2022 
       icon2.gif   a hack around, posted by Konstantin Olchanski on Fri Dec 30 00:46:03 2022 
          icon2.gif   webkit bug, posted by Andrey Pashnin on Mon Jan 2 12:32:13 2023 
          icon2.gif   a hack around, posted by Stefan Ritt on Wed Jan 4 09:33:25 2023 
             icon2.gif   a hack around, posted by Stefan Ritt on Wed Jan 4 09:39:38 2023 Screenshot_2023-01-04_at_9.38.51_.pngScreenshot_2023-01-04_at_9.39.09_.png
                icon2.gif   editing on a smartphone, posted by Andrey Pashnin on Wed Jan 4 10:05:38 2023 Screenshot_2023-01-04_at_10.06.02.png
                   icon2.gif   editing on a smartphone, posted by Stefan Ritt on Wed Jan 4 10:12:43 2023 
                      icon2.gif   config option?, posted by Andrey Pashnin on Wed Jan 4 11:03:45 2023 
                         icon2.gif   config option?, posted by Stefan Ritt on Wed Jan 4 11:43:00 2023 
                            icon2.gif   config option?, posted by Andrey Pashnin on Wed Jan 4 11:53:35 2023 
                      icon2.gif   wrap "pre" tag in a "div" with fixed width, posted by Andrey Pashnin on Wed Jan 4 11:39:39 2023 (READ)_single_long_line.png(EDIT)_single_long_line.png
                         icon2.gif   wrap "pre" tag in a "div" with fixed width, posted by Stefan Ritt on Wed Jan 4 12:17:46 2023 Screenshot_2023-01-04_at_12.16.47_.png
                            icon2.gif   wrap "pre" tag in a "div" with fixed width, posted by Andrey Pashnin on Wed Jan 4 14:05:25 2023 
                               icon2.gif   wrap "pre" tag in a "div" with fixed width, posted by Stefan Ritt on Wed Jan 4 14:23:12 2023 
                                  icon2.gif   white-space: pre-wrap", posted by Andrey Pashnin on Wed Jan 4 14:38:54 2023 
Message ID: 69600     Entry time: Wed Jan 4 09:39:38 2023     In reply to: 69599     Reply to this: 69601
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Bug fix  OS: All  ELOG Version: ELOG V3.1.4-493 
Subject: a hack around 
Ahh, now I remember. Well, the I put that in like 25 years ago ;-)

Let's assume the user write a very long line and relies on the wrapping of the text box. So the input might look like the 
first attachment. Then the user hits submit and gets just one long line (second attachment) and has to scroll one kilometre
to the right to see the full line. So there is an inconsistency between the entry form and what the user sees after the
submission. Having "wrap=hard" tells the browser to put CRLF where the wrapping in the textarea happens, so the text looks
the same during entry and after submission. If we remove the "wrap=hard", we would be back to the situation below in the two
attachments.

Opinions?

Stefan
Attachment 1: Screenshot_2023-01-04_at_9.38.51_.png  67 kB  | Hide | Hide all
Screenshot_2023-01-04_at_9.38.51_.png
Attachment 2: Screenshot_2023-01-04_at_9.39.09_.png  53 kB  | Hide | Hide all
Screenshot_2023-01-04_at_9.39.09_.png
ELOG V3.1.5-3fb85fa6