* Link export to HTML
@ 2010-05-18 7:01 Carsten Dominik
2010-05-22 15:18 ` [PATCH] org-html.el: Don't add link type if link is relative ^[
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Carsten Dominik @ 2010-05-18 7:01 UTC (permalink / raw)
To: emacs-orgmode Mode
Hi,
I have just merged Tom's branch which factors the link formatting in
HTML export out of the main export function.
I have not had time to do extensive testing myself, so please keep an
eye out for any problems resulting from this patch.
Thanks
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] org-html.el: Don't add link type if link is relative
2010-05-18 7:01 Link export to HTML Carsten Dominik
@ 2010-05-22 15:18 ` ^[
2010-05-22 15:18 ` [PATCH] Don't add url " ^[
[not found] ` <1274541509-14632-1-git-send-email-^[>
2 siblings, 0 replies; 4+ messages in thread
From: ^[ @ 2010-05-22 15:18 UTC (permalink / raw)
To: emacs-orgmode
From: David Maus <dmaus@ictsoc.de>
Patch available on
git://github.com/dmj/dmj-org-mode.git quickfix
New link formating broke usage of relative links in a website project.
HTH
-- David
David Maus (1):
Don't add url type if link is relative.
lisp/ChangeLog | 3 +++
lisp/org-html.el | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] Don't add url type if link is relative.
2010-05-18 7:01 Link export to HTML Carsten Dominik
2010-05-22 15:18 ` [PATCH] org-html.el: Don't add link type if link is relative ^[
@ 2010-05-22 15:18 ` ^[
[not found] ` <1274541509-14632-1-git-send-email-^[>
2 siblings, 0 replies; 4+ messages in thread
From: ^[ @ 2010-05-22 15:18 UTC (permalink / raw)
To: emacs-orgmode
From: David Maus <dmaus@ictsoc.de>
---
lisp/ChangeLog | 3 +++
lisp/org-html.el | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b3a3529..1bbb4be 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2010-05-22 David Maus <dmaus@ictsoc.de>
+ * org-html.el (org-html-make-link): Don't add url type if link
+ is relative.
+
* org-w3m.el (org-w3m-copy-for-org-mode)
(org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
Get text property directly, not using macro `w3m-anchor'.
diff --git a/lisp/org-html.el b/lisp/org-html.el
index d5f4775..221cbf6 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -640,7 +640,7 @@ MAY-INLINE-P allows inlining it as an image."
(setq thefile
(let
((str (org-export-html-format-href thefile)))
- (if type
+ (if (and type (string-match-p "^//" str))
(concat type ":" str)
str)))
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] org-html.el: Don't add link type if link is relative
[not found] ` <1274541509-14632-1-git-send-email-^[>
@ 2010-05-22 15:24 ` David Maus
0 siblings, 0 replies; 4+ messages in thread
From: David Maus @ 2010-05-22 15:24 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 199 bytes --]
WTF?!
These patches are mine and I have no idea how I managed it to messed
up the from line oO.
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-22 15:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-18 7:01 Link export to HTML Carsten Dominik
2010-05-22 15:18 ` [PATCH] org-html.el: Don't add link type if link is relative ^[
2010-05-22 15:18 ` [PATCH] Don't add url " ^[
[not found] ` <1274541509-14632-1-git-send-email-^[>
2010-05-22 15:24 ` [PATCH] org-html.el: Don't add link " David Maus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.