add workaround for #34 to AW

This commit is contained in:
arcan1s
2014-10-27 04:20:13 +03:00
parent 6463ed3bf7
commit 13023a4985
4 changed files with 6 additions and 5 deletions

View File

@ -662,7 +662,7 @@ void AwesomeWidget::configChanged()
fontStyle = QString("italic");
else
fontStyle = QString("normal");
formatLine[0] = QString("<html><head><style type=\"text/css\">p, li { white-space: pre-wrap; }</style>\
formatLine[0] = QString("<html><head><style type=\"text/css\">body { white-space: pre-wrap; }</style>\
</head><body style=\"font-family:'%1'; font-size:%2pt; font-weight:%3; font-style:%4; color:%5;\">")
.arg(font.family())
.arg(font.pointSize())