Standardebooks

Latest version: v2.7.4

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

Scan your dependencies

Page 8 of 9

1.6.2

se build

- Fix issue where adding quote spans interrupts alt attributes and title tags

1.6.1

General

- Remove almost all BS4 dependencies

- Change default indentation of `<p>` following `<blockquote>` to be 1em instead of 0; add `continued` class to `core.css` for such `<p>`s that are semantic continuations of the `<blockquote>`'s preceding `<p>`

- Rename some EasyXml functions

se build

- In the compatible build, add `<span>`s around punctuation followed by quotation marks to move them closer together typographically

- Add compatibility CSS to remove hanging indents from iOS in compatible epub build

- Add `continued` class to `core.css` and make `blockquote + p` indented by default

se create-draft

- Include IA URL as a `<dc:source>` element in the generated template `content.opf`. Thanks to maticstric

se generate-toc

- Fix exception message. Thanks to Vince Rice

se modernize-spelling

- Various additions. Thanks to Robin Whittleton

se lint

- Add x-017, duplicate ID value on non-sectioning element

- Downgrade s-039 to a warning and tweak message

- Require block-level child in LoI `<li>` elements

- Perform most checks using the file's semantics and not the filename

- Add f-014, se.css doesn't match template

- Only check top-level elements in m-030-35

- Update s-066 to include Act and Scene and improve check to reduce false positives

- Add s-073, header element requires both label and ordinal semantic children

- Add some mathml to exceptions in s-010

- Fix m-043 message. Thanks to Vince Rice

- Add `continued` class to checks

- Add m-059, source in colophon but missing in metadata

- Add t-045, p preceded by blockquote and starting in lowercase letter but missing `continued` class

se semanticate

- Fix Roman semantics added to lowercase `i`

1.6.0

General

- Support for new <hgroup> header scheme in tools and templates

- CSS for SE boilerplate files like titlepages, colophons, and the Uncopyright page are now in a new CSS file named `se.css`, and those files no longer include `local.css`.

- Corpus-wide switch to using `epub:type="z3998:signature"` instead of `class="signature"`.

- `core.css` now defaults to lowercase numbers and hanging punctuation.

- Fix to pipx install documentation. Thanks to Robin Whittleton

- Add various functions to the EasyXmlTree and EasyXmlNode classes

- `<title>` elements now have the same value as their ToC entries

se build

- Remove BS4 dependency

- The raw, non-compatible epub file is now named `*_advanced.epub`, instead of having an `.epub3` file extension

- Add workaround for glossary bug in epubcheck 4.2.4

se create-draft

- Add support for new `se.css` file and update various template files

se hyphenate

- Remove BS4 dependency

se modernize-spelling

- Various additions

se print-manifest

- Add support for the epub glossary spec

se lint

- Change s-049 to match `<header>` elements with only `<h>` children

- Add s-065, `fulltitle` semantic on element that is not an `<h1>`

- Add t-008, repeated punctuation

- Improve t-017

- Add f-013, glossary search key map must have exact filename

- Add s-024, header elements that are entirely non-English should not have italics

- Add s-066 and s-067, header elements with incorrect label semantics

- Add s-068, header missing ordinal semantic

- Improve s-066

- Add t-044, comma required after leading `Or` in subtitle

- Add s-069, `<body>` without direct child `<section>` or `<article>`

- Add s-070, heading element without semantic inflection

- Improve t-020

- Update m-045 to use the output of the `generate_title()` function

- Add s-071, sectioning element with more than one heading element

- Replace various filename-based checks with semantics-based checks

- Add s-072, element with a single `<span>` child

- Remove various now-obsolete checks

- Check for CSS required for `z3998:signature` semantic

se print-title

- Compatibility with new `<hgroup>` standards

- Remove word joiners and no-break spaces from titles

- Emit a warning if we can't guess the title based on the file contents

se print-toc

- Compatibility with new `<hgroup>` standards. Thanks to David Grigg

- After adding the bodymatter item in the landmarks, don't output any more frontmatter-like landmark entries

se semanticate

- Wrap lowercase Roman numerals in semantics

se typogrify

- Improve rehydration of `&amp;`

- Don't collapse spaces between ellipses and em-dash

- Typogrify the half title if present

1.5.9

General

- Bump to epubcheck 4.2.4

- Pin versions of testing framework libraries so that tests don't fail unexpectedly when new library versions are released. Thanks to Dave Halliday

- Various testing framework updates. Thanks to Dave Halliday

se build

- Fix extra spaces before 4-dot ellipses and nested quotations in Kobo. Thanks to Robin Whittleton

- Temporarily disable 2x MathML PNG generation due to iBooks srcset bug

- Only add white stroke outline to logo SVG if the logo matches the SE logo

- Don't fail when CSS media queries are present

- Remove Readium compatibility CSS as the Readium reader is no longer maintained

- Don't add -epub-hyphens since it is now required in the base CSS

- Instead of checking for word length when checking if a word is too long for the hyphenator library, catch the exception instead, as some Unicode strings report as shorter than they really are when checked with `len()`

se compare-versions

- Don't print double newlines in output

se create-draft

- Remove leading white space from title lines when generating the title/cover SVG

se lint

- Fix x-009 to check for only leading `0`s, not `-0` anywhere in the value

- Add x-011, illegal underscore in id attribute

- Remove t-007 and t-008 as they are now handled by typogrify

- Add `<footer>` to allowed block level children in s-007

- Improve m-045 check

- Fix unhandled exception when filename not present in lint output. Thanks to Michael Glanznig

- Improve t-017

- Fix typo in s-052 message

- Fix incorrect MathML rendering in some cases

- Catch abbr classes with no periods in s-045. Thanks to Vince Rice

- Allow initialisms with numbers in t-030. Thanks to Vince Rice

- Add several initialism exceptions. Thanks to Vince Rice and Robin Whittleton

- Add some self-closing MathML tags to list of allowed empty elements

- Add s-043, se:short-story/se:novella semantic on element that is not `<article>`

- Add s-061, title and following header content not in `<header>`

- Allow `<p>` in s-058

- Add t-007, possessive s inside italics that are for a name

- Don't check MathML attributes for underscores

- Add s-063, z3998:persona semantic on an element that's not a `<b>` or `<td>`

- Add s-064, check that endnote citations are wrapped in `<cite>`

se modernize-spelling

- Various additions. Thanks to matistric

se print-manifest

- Add support for epub dictionaries and glossaries

se print-toc

- Remove word joiners and nbsp from generated ToC

se semanticate

- Add `2D`/`3D`/`4D` as recognized abbreviations. Thanks to Vince Rice

- Don't add z3998:roman semantic to `x-ray`

se typogrify

- Add a no break space before ampersands

- Remove word joiners and nbsps from alt attributs

- Don't add an nbsp before `St.` if it is within an `<abbr class="name">` element

- Convert horizontal bar to em dash

1.5.6

Released in error; no changes.

1.5.5

General

- Restrict pytest version to work around new pytest bug. Thanks to Dave Halliday

- Update core.css to use `break-*` properties instead of `page-break-*`, and to avoid page breaks inside and after `<header>` by default

se build

- Convert `break-*` properties to `page-break-*` during build, not the other way around; and use correct value of `break-*: page` where appropriate

se lint

- Add c-007, `hyphens` CSS property without matching `-epub-hyphens` property

- Merge s-007, s-053, and s-061 into one check, now s-007

se semanticate

- Improve checks for eoc classes when adding `<abbr>` elements. Thanks to Vince Rice

Page 8 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.