[kmail2] [Bug 414038] New: Whitespace in quoted lines not preserved, so some ASCII drawings are messed up.

David Hurka bugzilla_noreply at kde.org
Mon Nov 11 19:39:39 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=414038

            Bug ID: 414038
           Summary: Whitespace in quoted lines  not preserved, so some
                    ASCII drawings are messed up.
           Product: kmail2
           Version: 5.12.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: UI
          Assignee: kdepim-bugs at kde.org
          Reporter: david.hurka at mailbox.org
  Target Milestone: ---

SUMMARY
KMail’s message viewer detects quote markers > and |, but simplifies all
following whitespace to a single space, so ASCII drawings are messed up when
they contain > or |.

So, KMail simplifies some whitespace in quotes. Is that neccessary? It doesn’t
simplify whitespace outside quotes.

STEPS TO REPRODUCE
1. Create a message like:
>                  ________________
>                 /  ____________  \
>           Rope /  /            \  \
>               /  /              \  \
>              /  /       __       \  \
>              |  \      Wheel     /  |
>            a |   \              /   | a
>              A    \____________/    V

2. Open in message viewer.

OBSERVED RESULT
Whitespace after quote markers simplified:
> ________________
> /  ____________  \
> Rope /  /            \  \
> /  /              \  \
> /  /       __       \  \
> | \      Wheel     /  |
> a |   \              /   | a
> A    \____________/    V
> | 

EXPECTED RESULT
Whitespace within quote preserved

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.17
KDE Plasma Version: 5.17.2
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION
Detecting quote markers after some whitespace was already topic in Bug 403976.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list