[okular] [Bug 524442] Markdown anchors must be lowercase by standards
Allen Winter
bugzilla_noreply at kde.org
Sat Aug 22 12:24:35 BST 2026
https://bugs.kde.org/show_bug.cgi?id=524442
Allen Winter <winter at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
Latest Commit| |https://invent.kde.org/grap
| |hics/okular/-/commit/67fc3e
| |9df1277ff40823298e7dcfdf78e
| |79616da
--- Comment #5 from Allen Winter <winter at kde.org> ---
Git commit 67fc3e9df1277ff40823298e7dcfdf78e79616da by Allen Winter.
Committed on 22/08/2026 at 10:58.
Pushed by winterz into branch 'master'.
Markdown: uncapitalize document anchors to match internal links
In the markdown convert(), there needed to be an exact match
between the document anchor and the link for the GoToAction to
be added for that link.
However, most (all?) markdown syntax requires that the links be all
lowercase. We could simply ignoring the link if it isn't all lowercase
(to meet standards). Instead, be nice and require only un-capitalized
internal links.
M +14 -2 generators/markdown/converter.cpp
https://invent.kde.org/graphics/okular/-/commit/67fc3e9df1277ff40823298e7dcfdf78e79616da
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list