Standardebooks

Latest version: v2.7.4

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 9

1.8.2

General

- Add the ability to apply a stylesheet to an EasyXml DOM tree. Applied styles can be accessed on an EaxyXmlElement by getting the `data-css-<attr>` property.

- Use EasyXhtmlTree instead of raw lxml for various operations across the codebase

- Remove se.XHTML_NAMESPACES constant in favor of more targeted namespace applications in the EasyXmlTree classes

- Update core.css to remove text indent from centered `<p>` elements in `<header>`

- Update core.css to add media to media rules for RMSDK compatibility. Thanks to Robin Whittleton

- Update se.css to use `text-align: initial;`

se build

- Fix dark mode in iOS13+ iBooks and drop dark mode hack for older Apple Books. Thanks to Robin Whittleton

- Move prefers-color-scheme image inversion to `core.css`. Thanks to Robin Whittleton

- Convert `vh` units to `em` for compatible epub build

- Output correct manifest when writing Kobo files

- Disable quote-align insertion code

- Simplify `text-align: initial;` to `text-align: left;`

se clean

- Alphabetize classes, except 'eoc' always goes last

se create-draft

- Fix extra whitespace in content.opf when translator/illustrators not present

- Prompt the user if the title appears to contain a subtitle

se lint

- Fix m-045 not working with ampersands

- Fix s-021 not working with ampersands

- Fix t-002 not working with word joiners

- Make sure s-021 reaches headers within `<header>` elements

- Add c-001, don't use some pseudoclasses on `*`

- Add t-048, chapter opening text in all caps

- Add c-010, `<footer>` without correct style

- Add c-011, centered element that still has text-indent applied

- Cache CSS rules for performance

- Add c-012, element without header and without correct `margin-top`

- Correctly remove color from CSS output if requested via option

- add c-013, element with `margin` or `padding` not in increments of `.5em`

- Add t-049, two em dash used for whole word elision

- Add s-076, `lang` attr used instead of `xml:lang`

- Improve t-049 check

- Add c-014, `<table>` without explicit margins

- Make sure CLI output expands to fill available space

- Improve x-017

- Fix links in error messages for f-003, f-004, f-005, and f-006

- Add c-015, element after or containing salutation does not have `text-indent: 0`

- Add s-077, `<header>` with preceding sibling

- Add s-078, `<footer>` with following sibling

- Add c-016, `text-align: left;` found instead of `text-align: initial;`

- Add c-017, element with postscript semantic but missing `margin-top: 1em;`

- Add c-018, element with postscript semantic but missing `text-indent: 0;`

- Improve t-042, possible typo

se modernize-spelling

- Remove space before `'ll`

- Various additions

se semanticate

- Improve lowercase i check

se titlecase

- Lowercase `du`

1.8.1

se build

- Fix incorrect application of `<span class="quote-align">` to `&hellip;`

- Don't remove `datetime` attributes from `<time>`

se create-draft

- Fix broken HTML in colophon if translator is specified

- Fix colophon author formula if author is anonymous

- Remove white space from transcriber names when fetching from PG

se lint

- Improve t-042 by checking for consecutive periods

- Improve t-042 by checking for `,.`

- Improve t-042 by checking for miscurled `&lsquo;`

- Add m-063, cover image has not been built

- Add m-064, ebook linked in long description but not italicized

se modernize-spelling

- Various additions

se typogrify

- Add word joiners before and after hair spaces preceding `&hellip;`

- Auto-fix commonly miscurled quotation marks around `'n'`

1.8.0

General

- Fix broken GitHub test/build framework. Thanks to Dave Halliday

se build

- Fix missing generated epub-type-x classes. Thanks to Robin Whittleton

se create-draft

- Accept multiple authors, translators, and illustrators

- Remove unused metadata blocks

- Try to guess at contributor sorting

se hyphenate

- Switch from unmaintained PyHyphen to pyphen. Thanks to Robin Whittleton

se lint

- Improve checks for missing metadata leftover from `se create-draft`

- Add m-062, missing data in imprint

- Add s-075, `<body>` with illegal direct child

se modernize-spelling

- Various additions

se print-toc

- Remove BeautifulSoup dependency, using lxml and xpath instead. Thanks to David Grigg

se recompose-epub

- Add filenames to error messages

se semanticate

- Add `pp.` as an abbreviation. Thanks to Robin Whittleton

se typogrify

- Don't insert nbsp or word joiners in `<title>` elements

se unicode-names

- Use unicode.org for hyperlinks for more details

1.7.1

General

- Ensure Python 3.9 compatibility with latest Pillow. Thanks to Robin Whittleton

se build

- Align quotation marks over ellipses, and align nested quotations

- Don't align quotes in Kobo builds, as it messes up spacing

se lint

- Add t-046, incorrect rough breathing mark

- Update m-041 to check all variations of HathiTrust

- Add m-061, HT/IA metadata link must be preceded by `the`

se modernize-spelling

- Various additions

se recompose-epub

- Apply `epub:type` of `<body>` to all direct children

se renumber-endnotes

- Use with/open file open pattern

1.7.0

se recompose-epub

- Add --extra-css-file option to include additional CSS when recomposing

- Don't destroy external links when recomposing

- Improve formatting of CSS in `<style>` elements, and escape with CDATA

1.6.3

General

- In core.css, Indent `<p>` elements following `<ul>`, `<ol>`, and `<table>` by default

se build

- Generate and use 2x MathML images. Thanks to Vince Rice

- Expand canvas if either generated MathML dimensions are odd. Thanks to Vince Rice

se lint

- t-032: Ignore abbrevations that contain `<sup>`, like `r<sup>o</sup>`

- t-032: Ignore abbrevations ending in numbers, like stage direction

- Add new Google Books URL structure to checks

- Add m-060, alternate style for new Google Books URLs

- t-042: check for dialog starting in lowercase letters

- Add s-074, `<hgroup>` element containing sequential `<h>` children at the same heading level

se modernize-spelling

- Various additions and modifications

se print-title

- Catch and pretty print invalid XHTML exceptions

se print-toc

- Correctly print first child of title when there are multiple hgroup children. Thanks to David Grigg

se recompose-epub

- Include all images as inline data

- Bug fixes and improvements

se semanticate

- Reduce false positives when adding semantics to measurements

se titlecase

- Use word boundaries instead of spaces when uppercasing initialisms

- Add `Des` and `De La` to lowercased exceptions

Page 7 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.