[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ox-html.el: Fix relative links with :html-link-use-abs-url
From: |
Ihor Radchenko |
Subject: |
Re: [PATCH] ox-html.el: Fix relative links with :html-link-use-abs-url |
Date: |
Sun, 18 Jun 2023 11:25:08 +0000 |
Akira Kyle <akira@akirakyle.com> writes:
> I'm pretty sure this fixes a bug and that the intended behavior is
> that when publishing with, say, ~:html-link-use-abs-url t~ and
> ~:html-link-home mysite.com~, one would expect a link like
> ~[[file:my/page.org]]~ to be exported to ~mysite.com/my/page.com~.
> ...
> - (file-name-absolute-p raw-path))
> + (not (file-name-absolute-p raw-path)))
Looks right.
Would you mind also adding a test to testing/lisp/text-ox-html.el ?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>