Standardebooks

Latest version: v2.6.3

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

Scan your dependencies

Page 1 of 8

2.6.3

General

- Add `text-wrap: pretty` to `core.css` template

- Rewrite testing framework to make it easier to write and organize tests. Thanks to Vince Rice

- Improve Flesch-Kincaid reading ease calculation when dealing with freeform poetry. Thanks to Robin Whittleton

- Update metadata file to list WCAG 2.2 compliance. Thanks to Robin Whittleton

se build

- Allow `ace` to output messages that don't include HTML

- Remove MathML metadata in compatible builds. Thanks to Robin Whittleton

- Fix MathML generation on Macs by bundling `geckodriver`. Thanks to Robin Whittleton

se create-draft

- Add `--verbose` flag. Thanks to Robin Whittleton

se find-unusual-characters

- Show code point in output

se lint

- Improve s-007

- Improve s-011

- Improve y-005

- Improve y-006

- Improve y-013

- Merge and reogranize several codes. Thanks to Vince Rice

- Remove some xpath redundancies. Thanks to Vince Rice

- Add m-077, MathML found in ebook but missing metadata. Thanks to Robin Whittleton

se modernize-spelling

- Various additions

2.6.2

General

- Fix issue reference in normalise_greek. Thanks to Robin Whittleton

- Removed dependency on distutils. Thanks to Deepak Jois

- Fix broken color output

- Fix fish completions syntax error. Thanks to Job Curtis

se build-title

- Select the title from the first `<section>` or `<article>`, instead of the first `<hgroup>` in the whole document

- Add `<nav>` as top level selectable element

se build-toc

- Moved location of reading of `xml:lang` for title to avoid it picking up that in subtitle

- Added `xml:lang` check for subtitle if title an ordinal and/or roman numeral

- Show the problematic heading on roman error. Thanks to Robin Whittleton

se create-draft

- Fix various template issues with --white-label option for better ereader compatibility

- Allow non-breaking spaces to tie together title blocks in draft creation

- Ignore case when searching for LCSH subject headings

se find-unusual-characters

- Check for no-break hyphens, and print character name in output

- Change how no-break hyphen is found

se interactive-replace

- Only initialize the screen if we have replacements to make

se lint

- Add s-074, empty `<th>` elements should be `<td>` elements

- Add s-095, `<p>` child of `<hgroup>` has wrong text-align

- Add missing SE variables to some checks. Thanks to Robin Whittleton

- Add y-033, incorrect three-em-dash usage

- Sort c-006 matches so tests are reproducable

- Add checks for missing dedication and epigraph CSS. Thanks to Erin Endrei

- Reorganize lint internals for better readability. Thanks to Vince Rice

- Improve t-051

- Improve c-006

se modernize-spelling

- Various additions

- Split typos (t-042) into separate codes (y-XXX). Thanks to Vince Rice

se build-spine

- Order half title page after other front matter. Thanks to Andrew Paseltiner

- Always place colophon and copyright page last in the backmatter

se semanticate

- Fix £sd fractions bug. Thanks to Robin Whittleton

- Add z3998:name-title semantic to name titles. Thanks to Erin Endrei

se titlecase

- Improve Roman numeral algorithm

se typogrify

- Don't try to add nbsp to weight abbreviations

- Remove nbsp between words;

- Add nbsp to names starting with `De `

- Don't change no-break hyphens to regular hyphens, in favor of check in `se find-unusual-characters`

- Ignore possible years when creating Unicode fractions

2.6.1

General

- Update various tools to take new WHATWG standards for `<hgroup>` into account. Thanks to David Grigg and Vince Rice

- Bump various dependencies

se build

- Bump to epubcheck 5.1.0

- Redirect ACE stderr output to /dev/null to avoid warnings from headless Chrome

- Don't add several deprecated ARIA roles that are now depracated to the compatible build

se lint

- Improve t-053

se modernize-spelling

- Various additions and improvements

se xpath

- Pretty-print invalid file error instead of crashing

2.6.0

General

- Add the `se css-select` command

- Bump to epubcheck 5.0.1

- Remove usage of `se:role` metadata now that the epub spec allows for multiple `role`s. Thanks to Robin Whittleton

se build

- Fix Kobo span issues in build. Thanks to Weijia Cheng

- Fix regex when matching epubcheck messages

- Add compatibility hack for missing covers in Nook

- Fix cover building as only a black image. Thanks to Robin Whittleton

se build-title

- Add exception for frontispieces

se build-toc

- Fix to prevent crash in build-toc due to no content item on page

se create-draft

- If an LCSH subject heading isn't found, try to find it in the Names authority

se interactive-replace

- Print error if file contains a line too long for curses to process

se lint

- Add more loan words to t-043

- Improve t-042

- Don't match `m:annotation-xml` elements in s-010

- Add t-073, possible error in Greek transcription. Thanks to John Factotum

se modernize-spelling

- Various additions and improvements

- Lowercase al- in a title with Arabic words in Latin orthography. Thanks to Robin Whittleton

se recompose-epub

- Correctly get encoding of SVG files

se split-file

- Guess language of split files. Thanks to Vince Rice

se titlecase

- Lowercase `nor`

- Lowercase al- in a title with Arabic words in Latin orthography. Thanks to Robin Whittleton

se typogrify

- Improve £ match

- Ensure fractions aren't actually dates before converting them

2.5.0

General

- Add default vertical margin to lists in core.css. Thanks to Robin Whittleton

- Bump to epubcheck 5.0.0

- Fix broken version specifier in setup.py. Thanks to Ben Steinberg

se build

- Add support for simplifying `:empty` selector. Thanks to Robin Whittleton

- Remove SVG -> PNG conversion for Kobo as it is no longer necessary. Thanks to Robin Whittleton

se build-title

- Don't add Roman semantics to `<title>` as `epub:type` is illegal on `<title>`.

se create-draft

- Truncate GitHub repo name to 100 characters max. Thanks to Robin Whittleton

- Remove duplicate `xml:lang` attibute that is sometimes added by lxml

se lint

- Various small fixes

- Add s-102, `lang` attribute found

- Add t-036, em dash used to obscure last digit of year

- Improve s-082

- Add se.name.vehicle.airplane to vocab

- Improve regex for punctuation in `<em>`. Thanks to Vince Rice

- Add check for missing semantics on some probable monarch names. Thanks to Robin Whittleton

- Improve t-007

- Improve t-042

se modernize-spelling

- Various additions

se semanticate

- Add `inst.`

se shift-illustrations

- Add this command. Thanks to Robin Whittleton

2.4.3

se create-draft

- Tweak HTML parsing to better discover PG producers

- Fix typo in Uncopyright template

se modernize-spelling

- Various additions

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.