Issue with viewer: '::before'

Bug #1848858 reported by carmen fierro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Calibre 4.02 under win7:
In a book (utf-8) with the following CSS entry

p.ugap::before {
    content: "⚔ ⚔ ⚔";
    display: block;
    text-align: center;
    font-size: smaller;
    letter-spacing: 0.25em;
    margin-bottom: 0.25em;
}

each ⚔ shows as âš” -- which I think is the ASCI/local codepage equivalent of the utf-8 character.

I dare say that the CSS is not read as utf-8 -- in Sigil it is and everything shows as it should.

Thanks!

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1848858

Attach an EPUB file demonstrating/reproducing the problem to this bug report. You can do that by clicking the "Add attachment or patch" link at the bottom of the bug's page. If the file you are attaching is copyrighted, mark the bug as private. You can do this by clicking the tiny yellow icon next to "This report contains Public information" in the top right area of the bug's page.

 status incomplete

Changed in calibre:
status: New → Incomplete
Revision history for this message
carmen fierro (cfierrob) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: Incomplete → Fix Released
Revision history for this message
carmen fierro (cfierrob) wrote :

Thanks! That was quick.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.