Comment heading with invalide weight

Bug #1989177 reported by 1pogaz
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

In HTML comments, when you turn a paragraph into a heading (h1 to h6) with the WYSINYG editor, Calibre add a "font-weight: 0" as a style. This invalide CSS is not cleaned and persists, sometimes transformed in "font-weight: 1".
The rendering error is not visible immediately, you must validate the modification, and this will become effective in the book detail and in future modification of the comments.
This regression is quite recent.

<p align="justify">
<h3 align="justify" style="font-weight: 0">

Calibre 6.4.0
Windows 10

Revision history for this message
1pogaz (1pogaz) 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: New → Fix Released
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.