Skip to content

Commit

Permalink
Re-enable hyphens
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeJellinek committed Sep 14, 2023
1 parent 0ffdc5f commit 005a88e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/dom/epub/stylesheets/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ replaced-body p {

widows: 2;
orphans: 2;
hyphens: auto;
}

replaced-body a {
Expand Down Expand Up @@ -233,9 +234,3 @@ body.footnote-popup-content * {
body.footnote-popup-content .section-container {
padding: 16px;
}

replaced-body, replaced-body * {
/* Work around a bug in the mapped_hyph crate that causes a segfault when viewing some EPUBs
(This is a shame! We want hyphens!) */
hyphens: none !important;
}

0 comments on commit 005a88e

Please sign in to comment.