The E-book viewer displays a CSS inserted em dash as an encoding error
Bug #2021554 reported by
bbballs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Calibre 6.18.1
Linux POP!_OS 22.04
The E-book viewer displays a CSS inserted em dash as an encoding error, but the E-book editor preview displays the em dash correctly.
An example of the HTML:
<span class="
<span class="blurb-item translated-
<span class="blurb-item root-title"
</span>
The relevant css:
.blurb-
{
content: ' — ';
}
The E-book viewer output:
The Chapter on the Entire Spectrum of Ethics — Sīlakkhandhavagga
The E-book editor preview output:
The Chapter on the Entire Spectrum of Ethics — Sīlakkhandhavagga
To post a comment you must log in.
Works for me with
test.html
<title> test</title> item.translated -title: :after blurb-label" > title"> The Chapter on the Entire Spectrum of Ethics </span> >Sīlakkhandhava gga</span>
```
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
</head>
<body>
<style> .blurb-
{
content: ' — ';
} </style>
<span class="
<span class="blurb-item translated-
<span class="blurb-item root-title"
</span>
</body>
</html>
```
ebook-viewer test.html
On Linux, current calibre.