https://bugs.kde.org/show_bug.cgi?id=477512
Bug ID: 477512 Summary: Custom emoji in backticks sends HTML img tag Classification: Applications Product: NeoChat Version: 23.08.3 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: General Assignee: fe...@posteo.de Reporter: tedst...@gmail.com CC: c...@carlschwan.eu Target Milestone: --- Created attachment 163475 --> https://bugs.kde.org/attachment.cgi?id=163475&action=edit Screenshot showing the problem of sending custom emoji in backticks SUMMARY When sending a shortcode for a custom emoji within backticks for code formatting, NeoChat literally sends the HTML <img> tag. STEPS TO REPRODUCE 1. Create a custom emoji with a shortcode, e.g.: :custom_emoji: 2. Enter the following in the "Send a message..." field: `:custom_emoji:` 3. Send the message OBSERVED RESULT The following message is sent (with code/monospace formatting): <img data-mx-emoticon="" src="mxc://example.com/qboavWktsdUCfzAFyOvDpBoR" alt=":custom_emoji:" title=":custom_emoji:" height="32" vertical-align="middle" /> EXPECTED RESULT The custom emoji shortcode is sent with code formatting. i.e.: :custom_emoji: SOFTWARE/OS VERSIONS Windows: - macOS: - Linux/KDE Plasma: Fedora Linux 39 (KDE Plasma Desktop Spin) (available in About System) KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.111.0 Qt Version: 5.15.11 ADDITIONAL INFORMATION The attached image shows the issue. -- You are receiving this mail because: You are watching all bug changes.