Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More fool-proof detection of missing illustrations in library.xml #961

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

veloman-yunkan
Copy link
Collaborator

Fixes #950

Presence of the "faviconMimeType" attribute in a book entry in library.xml
file is enough for libkiwix to assume that the book contains an illustration
(even if the "favicon" attribute is missing).
Now (in a library.xml flow) a book is considered to contain an
illustration only if both "faviconMimeType" and "favicon" attributes
are set to non-empty values.
@codecov
Copy link

codecov bot commented Jun 24, 2023

Codecov Report

Patch coverage: 20.00% and project coverage change: -0.01 ⚠️

Comparison is base (550fc2f) 38.88% compared to head (f410079) 38.87%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #961      +/-   ##
==========================================
- Coverage   38.88%   38.87%   -0.01%     
==========================================
  Files          56       56              
  Lines        3973     3974       +1     
  Branches     2186     2187       +1     
==========================================
  Hits         1545     1545              
  Misses       1097     1097              
- Partials     1331     1332       +1     
Impacted Files Coverage Δ
src/book.cpp 38.85% <20.00%> (-0.25%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mgautierfr mgautierfr merged commit 1f5a160 into main Jun 28, 2023
@mgautierfr mgautierfr deleted the issue950 branch June 28, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect missing illustration handling in --library mode
2 participants