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

            Bug ID: 455016
           Summary: Editing edited messages with markdown causes markdown
                    elements to be replaced with html elements in chat box
           Product: NeoChat
           Version: unspecified
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: fe...@posteo.de
          Reporter: janbidle...@protonmail.com
                CC: c...@carlschwan.eu
  Target Milestone: ---

SUMMARY
Trying to edit an edited markdown message will result in the preview chat box
having all markdown elements being replaced with html elements, making the edit
much harder.


STEPS TO REPRODUCE
1. Send any message (i.e. `foo`)
2. Edit said message and insert markdown into it (i.e. `*foo*`)
3. Edit said message again

OBSERVED RESULT
The markdown elements will be replaced with html elements (i.e the `*foo*` from
above will turn into `<em>foo</em>`) which when send get interpreted as
plaintext.

EXPECTED RESULT
The markdown elements should be kept as markdown elements.

SOFTWARE/OS VERSIONS
Windows: 10 21H1
NeoChat Version: 22.04
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
This only seems to appear if I either use the "up-arrow" option to edit a
message, or right click -> edit. The "edit" button at the right of the message
does not seem to cause this.

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

Reply via email to