Closed jackiew1 closed 4 years ago
This would be due to _ZN6QLabel13setTextFormatEN2Qt10TextFormatE
being called for the ConfirmationDialog text with a value of 0x1 (Qt::RichText
), which causes the text to be interpreted as HTML. I'm not sure if this was the behaviour in previous firmware versions.
This should be fixable by using Qt::convertFromPlainText
with Qt::WhiteSpacePre
.
cc @shermp for NickelDBus
Edit: I've checked this against 11655, so it appears that this has been the case since the beginning.
I kind of like the HTML formatted text. Makes it easy to do simple bold/italics, so I probably won't change it for NickelDBus, although maybe I need to note it in the documentation.
@pgaskin As per your suggestion I'm creating this issue (minor) for you to look at if/when you have the time and inclination.
Details at https://www.mobileread.com/forums/showpost.php?p=4042416&postcount=317 posts #317-324