[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] bug: [[file:something.org]] is exported to [[http:something.ht
From: |
Daniel Clemente |
Subject: |
[Orgmode] bug: [[file:something.org]] is exported to [[http:something.html]] |
Date: |
Tue, 07 Sep 2010 22:42:18 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/24.0.50 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Commit bd1b57f92a33485c90db1efc407c8b7c7450993a (Thu Sep 2 11:35:43 2010 +0000)
did something like this in org-html.el:
((str (org-export-html-format-href thefile)))
- (if (and type (not (string= "file" type))
- (org-string-match-p "^//" str))
+ (if (and type (not (string= "file" type)))
(concat type ":" str)
This broke the exporting of [[file:a.org]] links, which now appear as
[[http:a.html]]. Try C-c C-e H on any .org with such links, even in emacs -Q.
The problem is, I think, that „type“ is actually "http", not "file" as the code
tries.
-- Daniel
- [Orgmode] bug: [[file:something.org]] is exported to [[http:something.html]],
Daniel Clemente <=