[okular] [Bug 421163] Internal links in markdown documents work incorrectly
Albert Astals Cid
bugzilla_noreply at kde.org
Sat May 9 23:00:09 BST 2020
https://bugs.kde.org/show_bug.cgi?id=421163
--- Comment #2 from Albert Astals Cid <aacid at kde.org> ---
The HTML we get back from discount (the Markdown library we use) is
<h1>TEST LINKS</h1>\n\n<ol>\n<li><a href=\"https://kde.org/\">External link to
web site</a></li>\n<li><a href=\"/etc/hosts\">Local link to
file</a></li>\n<li><a href=\"#Chapter\">Internal link to
chapter</a></li>\n</ol>\n\n\n<div style=\"page-break-after:
always;\">\n---end-of-page---\n</div>\n\n\n<h1>Chapter</h1>
I'm not convinced that at this point we can actually do anything to figure out
that <a href=\"#Chapter\"> refers to <h1>Chapter</h1>
I'll ask the discount author
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list