From 5c3172a03800835c5dbb8207a9661df630e3e607 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 13 Sep 2026 00:50:43 -0400 Subject: 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) --- org/tests_for_document_abstraction_shell_scripts.org | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'org/tests_for_document_abstraction_shell_scripts.org') 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 in the paragraph, so the

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 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

; 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 -- cgit v1.2.3