diff --git a/generators/epub/converter.cpp b/generators/epub/converter.cpp index f6cc85d5c3aa7fd23290a9678ac70ae235deb997..963800358c99e37ea520d8a228f5213482508244 100644 --- a/generators/epub/converter.cpp +++ b/generators/epub/converter.cpp @@ -303,13 +303,7 @@ QTextDocument* Converter::convert( const QString &fileName ) QTextBlock before; if(firstPage) { - // preHtml & postHtml make it possible to have a margin around the content of the page - const QString preHtml = QString::fromLatin1("" - "" - "" - "
").arg(mTextDocument->padding); - const QString postHtml = QStringLiteral("
"); - mTextDocument->setHtml(preHtml + htmlContent + postHtml); + mTextDocument->setHtml(htmlContent); firstPage = false; before = mTextDocument->begin(); } else {