Merge branch 'master' into mod/master-img
Merge upstream perf: Improve large CSS files handling (#779) Conflicts resolved: - Section.cpp: Combined mod's image support variables with master's CSS parser loading pattern - CssParser.cpp: Accepted master's streaming parser rewrite, ported mod's width property handler into parseDeclarationIntoStyle() Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -97,7 +97,7 @@ RecentBook RecentBooksStore::getDataFromBook(std::string path) const {
|
||||
// If epub, try to load the metadata for title/author and cover
|
||||
if (StringUtils::checkFileExtension(lastBookFileName, ".epub")) {
|
||||
Epub epub(path, "/.crosspoint");
|
||||
epub.load(false);
|
||||
epub.load(false, true);
|
||||
return RecentBook{path, epub.getTitle(), epub.getAuthor(), epub.getThumbBmpPath()};
|
||||
} else if (StringUtils::checkFileExtension(lastBookFileName, ".xtch") ||
|
||||
StringUtils::checkFileExtension(lastBookFileName, ".xtc")) {
|
||||
|
||||
Reference in New Issue
Block a user