From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: broken links in org-html publishing Date: Tue, 29 Jul 2014 23:36:04 -0500 Message-ID: <87mwbrjwej.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCLca-0006i9-NC for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 00:36:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCLcU-0004Qn-0r for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 00:36:12 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:50476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCLcT-0004QN-Q1 for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 00:36:05 -0400 Received: from archbook (unknown [50.172.132.15]) by mail.messagingengine.com (Postfix) with ESMTPA id 980C068011C for ; Wed, 30 Jul 2014 00:36:04 -0400 (EDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --=-=-= Content-Type: text/plain 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. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Fix-broken-links-in-html-publishing.patch >From c23658146426d4780d7aa842f0bbd61e1356baf9 Mon Sep 17 00:00:00 2001 From: Matt Lundin 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 --=-=-=--