Skip to content

Conversation

@rdeltour
Copy link
Member

@rdeltour rdeltour commented Sep 1, 2025

This change proactively allows ITS attributes in XHMTL content document, which is a new HTML extension planned in EPUB 3.4. See w3c/epub-specs#2732

The implementation naïvely removes the attributes when pre-processing the content sent to the validators. It does not check that the attributes are defined and conform to the requirements in ITS 2.0.

This is a first step in resolving #1616, to prevent EPUBCheck from totally rejecting ITS attributes.

This change proactively allows ITS attributes in XHMTL content document,
which is a new HTML extension planned in EPUB 3.4.
See w3c/epub-specs#2732

The implementation naïvely removes the attributes when pre-processing
the content sent to the validators. It does not check that the attributes
are defined and conform to the requirements in ITS 2.0.

This is a first step in resolving #1616, to prevent EPUBCheck from
totally rejecting ITS attributes.
@rdeltour rdeltour added this to the v5.3.0 milestone Sep 1, 2025
@rdeltour rdeltour self-assigned this Sep 1, 2025
Base automatically changed from issue/1615/svg-fonts to main September 1, 2025 15:02
@rdeltour rdeltour merged commit 7ca1084 into main Sep 1, 2025
6 checks passed
@rdeltour rdeltour deleted the issue/1616/its branch September 1, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant