Commit 2c05bf83 authored by Michał Goliński's avatar Michał Goliński Committed by Albert Astals Cid
Browse files

Use proper cover href for EPUB 3.0

BUG: 451226

Rationale for change: see comments in
parent 20f476fa
Pipeline #148655 passed with stage
in 2 minutes and 24 seconds
......@@ -200,7 +200,7 @@ bool EbookCreator::createEpub(const QString &path, QImage &image)
// Decode percent encoded URL
QByteArray encoded = itemHrefs[coverId].toUtf8();
QByteArray encoded = coverHref.toUtf8();
coverHref = QUrl::fromPercentEncoding(encoded);
// Make coverHref relative to OPF location
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment