https://bugs.kde.org/show_bug.cgi?id=510945
Ben Morris <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Ben Morris <[email protected]> --- I think I see where this is going wrong. It's this line: https://invent.kde.org/graphics/okular/-/blob/420d551a9fe9c2904f67c6b47efdde7b9e4faa98/generators/markdown/converter.cpp#L54 QDomDocument::setContent() parses XML. Discount emits named character references which are valid HTML but *not* valid XML. This can be demonstrated by inserting the line qDebug() << dom.setContent(html).errorMessage; and then loading a file containing an ellipsis. Okular prints "Entity 'hellip' not declared." -- You are receiving this mail because: You are the assignee for the bug.
