Skip to content

composer-ng: Use QString::toDouble() in fixHtmlFontSize; add unit tests

Ahmad Samir requested to merge work/ahmad/prep-qre-autotest into master

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.

Edited by Ahmad Samir

Merge request reports

Loading