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

            Bug ID: 506733
           Summary: Broken HTML tag parsing in notifications on multiple
                    fronts
    Classification: Plasma
           Product: plasmashell
      Version First 6.4.2
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Notifications
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

This should work  and show "Test text" - it shows nothing other than the abc
title: 
  notify-send "abc" "<a href='https://example.com'>Test</a> text"

Swapping quotes for double quotes fixes that one:
   notify-send "abc" "<a href=\"https://example.com\";>Test</a> text"

Anything resembling a HTML tag breaks the thing, simple bracket breaks anything
after it, all of these render nothing other than the title:
  notify-send "abc" "<"
  notify-send "abc" "<a"
  notify-send "abc" "<hello>"

I would expect single quotes to work, and I would expect unfinished or
nonexistent HTML tags to not be attempted to be rendered as HTML.
---

Operating System: Arch Linux 
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.4-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 64 GiB of RAM (61.9 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 4090
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X670 AORUS ELITE AX

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

Reply via email to