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

            Bug ID: 469593
           Summary: Website links are resolved inside code blocks
    Classification: Applications
           Product: NeoChat
           Version: 23.04.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: fe...@posteo.de
          Reporter: akse...@akselmo.dev
                CC: c...@carlschwan.eu
  Target Milestone: ---

Created attachment 158839
  --> https://bugs.kde.org/attachment.cgi?id=158839&action=edit
Screnshot of the code block trying to resolve a website link

SUMMARY

When having a codeblock with a link to a website, Neochat tries to resolve it
and adds html tags.

You can test it with this codeblock for example:

```cmake

find_package(raylib QUIET)
if (NOT raylib_FOUND)
    include(FetchContent)
    FetchContent_Declare(
            raylib
            GIT_REPOSITORY https://github.com/raysan5/raylib.git
            GIT_TAG 4.5.0
    )
    FetchContent_MakeAvailable(raylib)
endif ()
```

STEPS TO REPRODUCE
1. Copy the above codeblock
2. Paste it in chat and send it

OBSERVED RESULT
Website link gets <a href... etc tags around it

EXPECTED RESULT
No extra items would be added

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.14-300.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

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

Reply via email to