Page MenuHomePhabricator

CSS escaped to HTML entities, not CSS entities
Open, Needs TriagePublic

Description

The Wikisource template https://en.wikisource.org/wiki/Template:Flatlist uses the following CSS (via TemplateStyles https://en.wikisource.org/wiki/Template:Flatlist/styles.css)

.__hlist li:after {
	content: " \00B7 ";
}

However in the EPUB, it comes out as:

.__hlist li:after {
	content: " · ";
}

This is no longer a valid CSS entity, it is now an HTML entity. This breaks some e-reader displays, like Koreader, which shows a literal ·

CSS entities: https://www.w3schools.com/cssref/css_entities.asp

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone