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

            Bug ID: 403976
           Summary: Message viewer: Lines starting with | (pipe symbol)
                    incorrectly shown as quoted lines
           Product: kmail2
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: UI
          Assignee: kdepim-b...@kde.org
          Reporter: david.hu...@mailbox.org
  Target Milestone: ---

Created attachment 117849
  --> https://bugs.kde.org/attachment.cgi?id=117849&action=edit
Example for a messed up table in kmail2

SUMMARY
Lines starting with | after much whitespace are displayed as quote, although
they should not be. This messes up tables.

STEPS TO REPRODUCE
1. Take a typical Bugzilla CC added message, or create a message like:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |some...@kde.org
                   |                            |someone.e...@kde.org

2. Open it in message viewer

OBSERVED RESULT
Because the last line starts with | (after some whitespace), it is shown as
quote:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |some...@kde.org
||someone.e...@kde.org

EXPECTED RESULT
To avoid this, do not recognize quoting signs after more than, say, 5 spaces;
or do not remove whitespace from quotes.

It is not a big problem for me if the whitespace is removed when replying to
the message. (Might be a problem for the recipient, though.)

SOFTWARE/OS VERSIONS
KMail Version: 5.10.1
KDE Neon 5.14
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.2

ADDITIONAL QUESTION
I thought I could change which symbols are recognized as quote. Where?

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

Reply via email to