Skip to content

CSS that uses ch units in processed HTMLs should cause warning instead of being removed #352

Description

@rtonsing

From the Helpdesk:

In an ebook that I produced recently (PG78995), I formatted closing formulas in correspondence with the help of "ch" units instead of "em" units. If these units are too new to be used, ebookmaker doesn't give any warning related to them. In any case these CSS lines were removed from the released HTML (https://www.gutenberg.org/cache/epub/78995/pg78995-images.html), so that the closing formulas have all the same padding-right and aren't properly formatted. See for example Appendix C. The HTML "as submitted" however, still has the CSS and shows the formatting as intended (https://www.gutenberg.org/files/78995/78995-h/78995-h.htm).
I would ask that if "ch" units are too new to be used, we get ebookmaker warnings just like with other new units (e.g. vw units). Otherwise the HTML processing that happens on PG's end should not remove lines with "ch" units.

Regards,
Galo Flordelis

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions