This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Documentation about the XML entity escape used by KDialog

Tags: None
(comma "," separated)
balthild
Registered Member
Posts
1
Karma
0
Hello. I'm maintaining a cross-platform dialog library, and it uses KDialog under the hood. I encountered a problem about the markup language.

When it was two or thee years ago (in Ubuntu 20.04), kdialog (version 19.12) supports some XML entity escape like HTML, such as   (space), & (&), " ("), ' ('), and so on.

Image

However, it is found that in recent versions of KDialog, some entity are not supported anymore, while some still work.

Image

Image

I cannot find any KDE documentation that describes this change. When I tried figuring it out from the source code, I found that the code related to displaying text in the dialogs have never changed for years. Git blame shows this:


Coule anyone tell me which version did this change happen, and what has been changed exactly?

See also: https://github.com/native-dialog-rs/nat ... /issues/41


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]