Nheko-Reborn / nheko

Desktop client for Matrix using Qt and C++20.
https://nheko-reborn.github.io/
GNU General Public License v3.0
1.92k stars 201 forks source link

HTML entities not always rendered #1763

Closed geekosaur closed 2 months ago

geekosaur commented 3 months ago

Describe the bug

I sent the following sequence (we're fixing a problem with a software release):

`for v in 3.12.1.0 latest; do curl -X PURGE "http://downloads.haskell.org/~cabal/cabal-install-$v"; for f in '' *; do curl -X PURGE "http://downloads.haskell.org/~cabal/cabal-install-$v/$f"; done; done`

It rendered as:

for v in 3.12.1.0 latest; do curl -X PURGE "http://downloads.haskell.org/~cabal/cabal-install-$v"; for f in '' *; do curl -X PURGE "http://downloads.haskell.org/~cabal/cabal-install-$v/$f"; done; done

Note the "s.

I'm not sure if this is caused by the immediately following semicolons or something else.

To Reproduce

As above.

What happened?

As above, it was displayed with "s instead of "s.

Expected behavior

It should have rendered the " entities.

Screenshots

Screenshot_2024-06-25_20-31-28

Version

0.11.3-80ab0394

Operating system

Linux

Installation method

Flatpak nightly repo or download

Qt version

No response

C++ compiler

No response

Desktop Environment

MATE with xmonad as window manager

Did you use profiles?

Relevant log output

No response

Backtrace

No response

deepbluev7 commented 2 months ago

Duplicate of https://github.com/Nheko-Reborn/nheko/issues/1482

This is a problem of our linkifier.