Commit graph

4 commits

Author SHA1 Message Date
fsalomon
b1dabef96c
Preserve state labels in plugin output (#1366)
Some checks failed
L10n Update / update (push) Has been cancelled
CI / PHP (push) Has been cancelled
- Keep bracketed state labels as text inside plugin output (state-ball
replacements)
- Hide the text visually while preserving the existing state-ball
styling
  
Nice when copy&pasting plugin output to a code agent.

---------

Co-authored-by: Fabian Salomon <4098510+fsalomon@users.noreply.github.com>
2026-04-28 14:18:37 +02:00
Eric Lippmann
272e791390 License source files as GPL-3.0-or-later
Add SPDX license headers and mark source files as GPL-3.0-or-later to
preserve the option to relicense under later GPL versions.
2026-03-11 14:03:05 +01:00
Sukhwinder Dhillon
929258c30f PluginOutputTest: Migrate tests from monitoring/PluginOutputTest 2024-07-24 10:41:23 +02:00
Sukhwinder Dhillon
2fefc75552 PluginOutput::render(): Shorten the output by characterLimit before processing it
If the shorten output contained (not properly closed) HTML element, it merged the next list-item into the same html tag, because the closing tag was missing.
So we therefor shorten the output by characterLimit before proccessing it
2024-07-24 10:24:27 +02:00