Skip to content

Sanitize imported EPUB HTML before reader rendering #5

Description

@mgaitan

Define an allowlist for paragraph and footnote HTML, attributes, URL schemes, and embedded media. Sanitize during ingestion while preserving italics, poetry, note references, and editorial structure. Add hostile EPUB fixtures covering scripts, event handlers, javascript URLs, and malformed markup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions