Standardebooks

Latest version: v2.7.4

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

Scan your dependencies

Page 6 of 9

1.9.3

se build

- Add compatibility code to allow Kindle to display pages whose only content is an aboslutely positioned image

- Replace vh/vw units with percent for compatible epub

se lint

- Add c-023, font size set without em units

- Add c-024, line-height set with units

- Add c-025, illegal percent unit on height property

se print-toc

- Fixed a crash when ToC level could not be determined. Thanks to David Grigg

se recompose-epub

- recompose-epub: Add `position: relative;` to sections with child figures that have position: absolute, so that they will position correctly after recomposition

se typogrify

- Add word joiners after em dashes within `<cite>` elements

1.9.2

General

- Improve url-safe string generation when string contains accents. Thanks to Robin Whittleton

se build

- Unwrap double-nested Kobo spans to prevent unexpected styling in local.css

se create-draft

- Ensure NACOAF prefix is http. Thanks to Vince Rice

- Add `unlocked` accesibility feature to `content.opf` template

se lint

- Add `sa` and `he` to s-082

- Add lint check for `id.loc.gov` URLs that start with https. Thanks to Robin Whittleton

- Add m-067, non-SE link in long description

- Improve s-045

- Add t-057, <p> beginning with lowercase letter

- Improve t-012

se modernize-spelling

- Various additions

se print-spine

- Add dramatis-personae and halftitlepage to exluded files. Thanks to Asher Smith

se reorder-endnotes

- reorder-endnotes: Improve reordering for endnotes within the endnotes file

se semanticate

- Add SOS and TV

se xpath

- Don't crash when printing string output

1.9.1

General

- Update the toolset to use `halftitlepage.xhtml` instead of `halftitle.xhtml` throughout

- Add support for new `se:role` metadata property

se build

- Use posix path for XSLT transform. Thanks to ConcaveTrillion

- Convert combining vertical line above to acute accent during build

- Remove outdated Calibre workaround for Kindle

- Remove outdated Play Books compatibility tweak

- Update `epubcheck` to 4.2.5

- Remove outdated `epubcheck` workaround

se create-draft

- Remove unnecessary prefilling of cover and titlepage. Thanks to Robin Whittleton

se modernize-spelling

- Various additions

se print-toc

- Add exception msg on file open/parse error. Thanks to Vince Rice

- Fix Unicode file open issues. Thanks to ConcaveTrillion

se lint

- Update t-011 to exlude quotations in letter signatures

- Add c-022, illegal rem unit

- Add more detail to lint error message for invalid XML

- Add filename to lint error message for invalid XML

- Add s-082, non-Latin-script language tag missing script suffix

- Add t-055, lone acute accent

- Add t-056, ordinal character used instead of degree character

- Merge t-045 and s-081 in favor of s-081

- Add f-015, filename doesn't match id attribute

- Add t-045, element with z3998:persona semantic that is set in italics

- Add s-083, persona <td> with child <p> element

se recompose-epub

- Don't pretty-print output if the size of the string would crash lxml

se titlecase

- Lowercase `mm` if used as a measurement

se typogrify

- Don't ignore colophon, loi, or half title

- Fix broken regex

- Typogrify all metadata, not just the descriptions

1.8.5

General

- New command: `se xpath` to run an XHTML-namespaced xpath selector on a directory or individual files

se build

- Replace no-break hyphens in Kobo builds

se create-draft

- Update chapter template and split-file command to use roman numerals instead of arabic numerals. Thanks to maticstric

- Improve LCSH subject heading fetching to find results more often. Thanks to maticstric


se lint

- Add x-018, unused ID attribute

- Replace internal CSS cache with general file cache

- Add t-050, possessive `'s` outside of persona element

- Add t-051, dialog in `<p>` without closing double quote, but next `<p>` doesn't have opening double qoute

- Add t-052, stage direction without ending punctuation

- Add t-053, stage direction starting in lowercase

- Improve t-042

- Add t-054, epigraphs entirely in non-English but set in Roman and not italics

- Add m-065, incorrect word count in metadata

- Allow nested at-rules when checking CSS. Thanks to maticstric

se modernize-spelling

- Various additions

se semanticate

- Don't add Roman semantics to obscured names starting with I, V, or X. Thanks to Weijia Cheng

- Improve check for Imperial measurements

se titlecase

- Lowercase `o’`

1.8.4

General

- Update core.css to use `break-*` instead of `page-break-*`

- Add fixed margins to blockquotes in core.css

se find-mismatched-diacritics

- Remove regex compilation as it's built in to the regex library now

- In output, differentiate words with tab and not comma

- Add some exceptions for common edge cases

se semanticate

- Don't add Roman semantics around `i`

se build

- Add `and all` to CSS media queries during build to placate RMSDK

- Force unicode encoding when converting MathML to PNG

se create-draft

- Add `<abbr class="name">` around abbreviated names in colophon

se lint

- Add c-019, signature semantics without small caps; this replaces c-006

- Improve m-007 by checking for bad archive.org links

- Add s-079, element with no children and only white space

- Improve c-015

- Add s-080, <td> in drama containing both inline text and a block-level element

- Add c-020, multiple `<article>` or `<section>` in file but without `break-*` CSS

- Add c-021, nested italics without `font-style: normal;`

- s-081, `<figure>`, `<table>`, or `<blockquote>` followed by `<p>` that does not have `continued` class

se modernize-spelling

- Various additions

se print-spine

- Fix prologue being added to spine twice. Thanks to Vince Rice

se print-toc

- Fix endnotes being included in the ToC. Thanks to David Grigg

se titlecase

- Improve check for Roman numerals in titles

se typogrify

- Add `nbsp` after some titles

- Remove unused regexes

- Convert hyphen before closing double quote to em dash

- Fix incorrectly curled quote following inline closing tag

se recompose-epub

- Strip CDATA from HTML5 output

- Don't print duplicate lang attributes on `<html>` when outputting HTML5

1.8.3

se build

- Remove multiple ARIA roles added during build, as epub doesn't support them

- Include filename in exception

Page 6 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.