[konsole] [Bug 509784] Saving output as HTML cause multi-line text loses style

Christoph Cullmann bugzilla_noreply at kde.org
Sat Oct 11 02:25:15 BST 2025


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

Christoph Cullmann <christoph at cullmann.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/konsole/-/commit/b04c
                   |                            |4ec523fa2c1807dd711d3612b49
                   |                            |5134f3784

--- Comment #2 from Christoph Cullmann <christoph at cullmann.dev> ---
Git commit b04c4ec523fa2c1807dd711d3612b495134f3784 by Christoph Cullmann, on
behalf of Wendi Gan.
Committed on 10/10/2025 at 17:31.
Pushed by cullmann into branch 'master'.

HTMLDecoder: fix missing span on subsequent lines

Issue:
When saving output as HTML, for multiple lines with the same style, only the
first line had a `<span>`, while subsequent lines lack styling.

Change:
For the first character, if there is no style change, apply the stored
`_style`.

M  +5    -2    src/decoders/HTMLDecoder.cpp
M  +1    -0    src/decoders/HTMLDecoder.h

https://invent.kde.org/utilities/konsole/-/commit/b04c4ec523fa2c1807dd711d3612b495134f3784

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list