From 4f19baaf7c2c2b825e84d5400a2ff02aa48f95d8 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 3 Sep 2019 09:33:21 +0200 Subject: [PATCH] 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 Reviewed-by: hjk --- src/plugins/help/litehtmlhelpviewer.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/plugins/help/litehtmlhelpviewer.cpp b/src/plugins/help/litehtmlhelpviewer.cpp index 05ffd5a1cbd..8dc360f1ccf 100644 --- a/src/plugins/help/litehtmlhelpviewer.cpp +++ b/src/plugins/help/litehtmlhelpviewer.cpp @@ -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)