Help: Remove hack for litehtml issue with inline tables

https://github.com/litehtml/litehtml/issues/91 is fixed.

Change-Id: I2f44975246831ef9b4b30cbd79407a1639988cb8
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2019-09-03 09:33:21 +02:00
parent 6574aaccfd
commit 4f19baaf7c

View File

@@ -57,13 +57,7 @@ static QByteArray getData(const QUrl &url)
actualUrl.setPath(path);
}
const LocalHelpManager::HelpData help = LocalHelpManager::helpData(actualUrl);
// TODO: this is a hack around for https://github.com/litehtml/litehtml/issues/91
QByteArray data = help.data;
if (actualUrl.path(QUrl::FullyEncoded).endsWith(".css"))
data.replace("inline-table", "inline");
return data;
return help.data;
}
LiteHtmlHelpViewer::LiteHtmlHelpViewer(QWidget *parent)