Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.6.3
-
None
Description
Observed an issue with the html style tag for the subsequent half of the line-spacing is inadvertently removed after applying the (QTextCharFormat / QTextBlockFormat) formatting.
This leads to a disruption in the HTML structure.
when saving and reviewing the result in a TextEdit, an empty tag replaces the original word.
example of the Document where the user wrote the word 'Test' then a letter-spacing is applied:
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\np, li { white-space: pre-wrap; }\nhr { height: 1px; border-width: 0; }\nli.unchecked::marker { content: \"\\2610\"; }\nli.checked::marker { content: \"\\2612\"; }\n</style></head><body style=\" font-family:'Roboto'; font-size:18px; font-weight:400; font-style:normal;\">\n<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" letter-spaciTest</p></body></html>
issue in the line:
<span style=\" letter-spaciTest</p></body</html>
Please check the sample project is included below.