-
Use QString::toDouble() in fixHtmlFontSize, as actual font sizes could well be double. Add unit tests for fixHtmlFontSize and toCleanHtml helper methods, that should help with porting QRegExp to QRegularExpression.
a0d14471
Use QString::toDouble() in fixHtmlFontSize, as actual font sizes could well be double. Add unit tests for fixHtmlFontSize and toCleanHtml helper methods, that should help with porting QRegExp to QRegularExpression.