diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-13 00:50:43 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-14 12:18:51 -0400 |
| commit | 5c3172a03800835c5dbb8207a9661df630e3e607 (patch) | |
| tree | 1b78c9eb2eb1b0fa2a8ade745232a342d033bdb9 /org/tests_for_document_abstraction_shell_scripts.org | |
| parent | test: epubcheck (epub-validity) over sample set (diff) | |
regex: confine url within an endnote (delimiter)
in error regex permitted a url to go past an endnote close delimiter,
fixed
(assisted by Claude-Code)
Diffstat (limited to 'org/tests_for_document_abstraction_shell_scripts.org')
| -rw-r--r-- | org/tests_for_document_abstraction_shell_scripts.org | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/org/tests_for_document_abstraction_shell_scripts.org b/org/tests_for_document_abstraction_shell_scripts.org index baf7fa4..a70a5f4 100644 --- a/org/tests_for_document_abstraction_shell_scripts.org +++ b/org/tests_for_document_abstraction_shell_scripts.org @@ -1272,13 +1272,19 @@ SPINE_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" # a ceiling, so a regression fails and an improvement does not; lower them in # the commit that lowers the output, and say in that commit what went. # -# The one fatal is the_public_domain, chapter_2: a bare URL at the end of a -# footnote body leaves a stray </a> in the paragraph, so the <p> never closes. -# It predates this test, it is in the html output too, and it is one -# occurrence in 35 documents. It wants its own fix; until then it is named -# here rather than tolerated silently. -FATALS_ALLOWED=${SpineEpubFatalsAllowed:-1} -ERRORS_ALLOWED=${SpineEpubErrorsAllowed:-1371} +# There is no allowance for a fatal, and there must never be one. The last +# one - the_public_domain, chapter_2: a bare url ending a footnote body +# swallowed the "}~" close delimiter, so the note closed inside the link +# markup and left an unbalanced </a> behind - was a url boundary defect in +# the abstraction, and is fixed. +# +# The errors that remain are, in order of how many: +# the table writer's obsolete presentational attributes, width on every +# cell and summary/border/cellpadding/align on the table; the navigation +# document linking to "#0", a fragment that is never defined; duplicate +# ids; a table inside a <p>; an opf id containing a colon. +FATALS_ALLOWED=${SpineEpubFatalsAllowed:-0} +ERRORS_ALLOWED=${SpineEpubErrorsAllowed:-1312} if [ -z "$SpinePOD" ]; then echo "ERROR: \$SpinePOD is not set." >&2 |
