[NeoChat] [Bug 477512] Custom emoji in backticks sends HTML img tag

2023-12-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=477512

--- Comment #4 from tedst...@gmail.com ---
Confirmed to be working with the latest master as of this writing
(1d8ffb22ee777474cceccba6f95f6a50a1672647).

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

[NeoChat] [Bug 477512] Custom emoji in backticks sends HTML img tag

2023-12-09 Thread James Graham
https://bugs.kde.org/show_bug.cgi?id=477512

James Graham  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/netw
   ||ork/neochat/-/commit/d25340
   ||bc31c63e9ec26312709f11c26c5
   ||234d78b
 Resolution|--- |FIXED

--- Comment #3 from James Graham  ---
Git commit d25340bc31c63e9ec26312709f11c26c5234d78b by James Graham.
Committed on 09/12/2023 at 15:28.
Pushed by nvrwhere into branch 'master'.

Fix inline custom emojis in codeblocks

Make sure that custom emojis in inline code blocks are not turned into images.

By calling preprocess text in `texthandler` the whole function can be
simplified as it will now never be called on any text inside any code block
(which was the reason for all the split stuff previously).

M  +46   -0autotests/texthandlertest.cpp
M  +0-2src/actionshandler.cpp
M  +6-14   src/models/customemojimodel.cpp
M  +1-1src/models/customemojimodel.h
M  +11   -2src/texthandler.cpp

https://invent.kde.org/network/neochat/-/commit/d25340bc31c63e9ec26312709f11c26c5234d78b

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

[NeoChat] [Bug 477512] Custom emoji in backticks sends HTML img tag

2023-12-08 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=477512

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #2 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/network/neochat/-/merge_requests/1475

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

[NeoChat] [Bug 477512] Custom emoji in backticks sends HTML img tag

2023-12-08 Thread James Graham
https://bugs.kde.org/show_bug.cgi?id=477512

James Graham  changed:

   What|Removed |Added

 CC||james.h.graham@protonmail.c
   ||om
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #1 from James Graham  ---
Indeed the text should be left alone when within a code block

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