Skip to content

Commit

Permalink
fix: Pass on the info to org-export-custom-protocol-maybe
Browse files Browse the repository at this point in the history
This is necessary for exporting of custom link protocols to work. This
issue was originally reported in
tecosaur/org-glossary#9.

Fixes #702.
  • Loading branch information
kaushalmodi committed Feb 1, 2023
1 parent 706b5f6 commit 8c1ccf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ox-hugo.el
Original file line number Diff line number Diff line change
Expand Up @@ -2744,7 +2744,7 @@ and rewrite link paths to make blogging more seamless."
;; (message "[org-hugo-link DBG] link type: %s" type)
(cond
;; Link type is handled by a special function.
((org-export-custom-protocol-maybe link desc 'md))
((org-export-custom-protocol-maybe link desc 'md info))
((member type '("custom-id" "id"
"fuzzy")) ;<<target>>, #+name, heading links
(let ((destination (if (string= type "fuzzy")
Expand Down

0 comments on commit 8c1ccf8

Please sign in to comment.