aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2019-08-22 15:42:44 +0530
committerArun Isaac2019-08-22 15:42:44 +0530
commite50c0e2648dec0149663d050b701cfebcba51b1f (patch)
treed03c387f5d68510872793b67f568a52328a64ec0
parent24cba52bfe4e92d2e7082f28d9ae7fe788ef2701 (diff)
downloadennum-e50c0e2648dec0149663d050b701cfebcba51b1f.tar.gz
ennum-e50c0e2648dec0149663d050b701cfebcba51b1f.tar.lz
ennum-e50c0e2648dec0149663d050b701cfebcba51b1f.zip
Do not expose html extension in the tag URI.
* ennu-html.el (ennu-export-tag): Do not append html extension when exporting tag link.
-rw-r--r--ennu-html.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/ennu-html.el b/ennu-html.el
index d2c4b76..6244a75 100644
--- a/ennu-html.el
+++ b/ennu-html.el
@@ -76,8 +76,7 @@
(defun ennu-export-tag (tag desc backend)
(xmlgen
- `(a :href ,(expand-file-name* (concat tag ".html")
- (ennu-setting :tag-directory))
+ `(a :href ,(expand-file-name* tag (ennu-setting :tag-directory))
,(or desc tag))))
(org-link-set-parameters