You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#+BEGIN_COMMENT
.. title: Test
.. slug: test
.. date: 2024-10-27 15:54:05 UTC+02:00
.. tags:
.. category:
.. link:
.. description:
.. type: text
#+END_COMMENT
* Introduction
Test link: [[link:/pages/publications/#pub0][Test]].
When this is exported converted/exported to HTML, the fragment identifier (#pub0 above) is removed from the link. As far as I have been able to tell, creating the 'partial' HTML file directly from Emacs works fine, and contains the correct HTML link:
Thus, I don't think anything is wrong with the plugin itself, but there could be some machinery I'm missing. Does Nikola perform any other kind of fix-ups on the <a> tags after a plugin is done with it that may strip out the fragments?
Also, is there some way to retrieve the partial HTML generated by the plugin before they're converted to full HTML pages in the output directory? That would help immensely with debugging this
For reference, the snippet generated by Nikola + the org-mode plugin is this:
Given the following org-mode test post:
When this is exported converted/exported to HTML, the fragment identifier (
#pub0
above) is removed from the link. As far as I have been able to tell, creating the 'partial' HTML file directly from Emacs works fine, and contains the correct HTML link:Thus, I don't think anything is wrong with the plugin itself, but there could be some machinery I'm missing. Does Nikola perform any other kind of fix-ups on the
<a>
tags after a plugin is done with it that may strip out the fragments?Also, is there some way to retrieve the partial HTML generated by the plugin before they're converted to full HTML pages in the
output
directory? That would help immensely with debugging thisFor reference, the snippet generated by Nikola + the org-mode plugin is this:
The text was updated successfully, but these errors were encountered: