[okular] [Bug 515749] New: HTML Named Character References in Markdown Are Not Parsed Correctly
Jonathan Gruber
bugzilla_noreply at kde.org
Mon Feb 9 01:08:33 GMT 2026
https://bugs.kde.org/show_bug.cgi?id=515749
Bug ID: 515749
Summary: HTML Named Character References in Markdown Are Not
Parsed Correctly
Classification: Applications
Product: okular
Version First 25.12.2
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: markdown backend
Assignee: okular-devel at kde.org
Reporter: jonathan.gruber.jg at gmail.com
Target Milestone: ---
Created attachment 189373
--> https://bugs.kde.org/attachment.cgi?id=189373&action=edit
Test file for reproducing bug.
SUMMARY
When certain HTML named character references appear in a Markdown file, then
those named character references are not parsed correctly. I only tested the
named character references "“" and
"”", but I'm sure the problem is not isolated to them.
STEPS TO REPRODUCE
1. Open the attached file test.html in a web browser.
2. Open the attached file test.md in Okular.
3. Compare the displays of the two files.
OBSERVED RESULT
Okular displays the named character references "“" and
"”" verbatim. However, Okular does correctly parse the
ostensibly equivalent "“" and "”".
EXPECTED RESULT
Okular should parse the Markdown "“" as the unicode
character U+201C ("Left Double Quotation Mark") and "”"
as the unicode character U+201D ("Right Double Quotation Mark").
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2
Kernel Version: 6.18.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i7-1255U
Memory: 17 GB of RAM (16.4 GB usable)
Graphics Processor: Intel® Iris® Xe Graphics
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list