View Single Post
Old 08-08-2022, 08:05 PM   #50
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,895
Karma: 6120478
Join Date: Nov 2009
Device: many
Okay, the issue is QtWebEngineView selectedText() returns the xml decoded string so before re-inserting it (when adding the link) we need to make it xml safe as it was in the underlying xhtml file.

I have now fixed this in PageEdit master but the code in question is used for many many things so I am worried my fix may have some unexpected side effects.

We will need to spend some time testing things before actually releasing it.

I can point you at the change if you build your own.

Thanks for the bug report!
KevinH is offline   Reply With Quote