Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.6
-
None
Description
The routine emits quotes around each family name. This creates invalid HTML, as the generic font names get quoted as well. Eg, myTextCursor->setFontFamily("monospace") will output style=" font-family:'monospace';" This is incorrect see https://drafts.csswg.org/css-fonts/#typedef-generic-family has the sentence:
Note that <generic-family> keywords cannot be quoted (otherwise they are interpreted as a <family-name>).