Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aram Verstegen
archive-hocr-tools
Commits
ccc7c575
Commit
ccc7c575
authored
Sep 27, 2021
by
Aram Verstegen
Browse files
Only add textual metadata tag when text is present
parent
945be778
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/hocr-to-epub
View file @
ccc7c575
...
...
@@ -329,8 +329,8 @@ class EpubGenerator(object):
'reading sequence.'
)
modes
=
[
'textual'
]
modes_sufficient
=
[
'textual'
]
modes
=
[]
modes_sufficient
=
[]
if
self
.
has_text
:
modes
.
append
(
'textual'
)
modes_sufficient
.
append
(
'textual'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment