emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] broken links in org-html publishing


From: Matt Lundin
Subject: [O] broken links in org-html publishing
Date: Tue, 29 Jul 2014 23:36:04 -0500
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux)

Commit c9ca0b6df86de13a5302b5a3c955fb2fb1023d36 broke html links in my
publishing setup. 

The links on my website point to file.org rather than file.html. The
problem is a mismatch between line 145 and 2695.

The attached patch fixes the issue.

>From c23658146426d4780d7aa842f0bbd61e1356baf9 Mon Sep 17 00:00:00 2001
From: Matt Lundin <address@hidden>
Date: Tue, 29 Jul 2014 23:31:50 -0500
Subject: [PATCH] Fix broken links in html publishing

* lisp/ox-html.el: Fix incorrect property name in :options-alist of
  html backend definition.
---
 lisp/ox-html.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 1b00c38..af4232c 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -142,7 +142,7 @@
     (:html-infojs-options nil nil org-html-infojs-options)
     (:html-infojs-template nil nil org-html-infojs-template)
     (:html-inline-image-rules nil nil org-html-inline-image-rules)
-    (:html-link-org-as-html nil nil org-html-link-org-files-as-html)
+    (:html-link-org-files-as-html nil nil org-html-link-org-files-as-html)
     (:html-mathjax-options nil nil org-html-mathjax-options)
     (:html-mathjax-template nil nil org-html-mathjax-template)
     (:html-metadata-timestamp-format nil nil 
org-html-metadata-timestamp-format)
-- 
2.0.3


reply via email to

[Prev in Thread] Current Thread [Next in Thread]