From: Mark Janssen <mpc.janssen@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Mismatch in url escaping between org and exported html
Date: Mon, 10 Feb 2014 11:59:31 +0100 [thread overview]
Message-ID: <CADJpCbkng+vB=gxu8iMFdw3inojGs+D0SQLsRStMXOfBShcJzg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 849 bytes --]
On Sun, Feb 9, 2014 at 11:07 PM, Mark Janssen <mpc.janssen@gmail.com> wrote:
>
>
>>
> Seems (setq org-url-hexify-p nil) will give me the required behavior.
>
> Mark
>
>
This didn't work, so I investigated a bit further. Because the = sign is
included in org-link-escape-chars, the org-url-hexify-p value will not make
anu difference.
So the problem is still that equals signs are hexified in org-links.
Reading =org.el= and seeing the =org-link-escape-chars= constant this seems
to be expected behavior.
So I think the issue is that the html exporter doesn't unhexify the equals
sign in the link. As a result the link in the html doesn't work.
e.g.
The link:
http://test/test?name=me
Is translated to:
http://test/test?name%3Dme
In the org file
And that link is also included in the HTML where I would have expected the
equals sign again.
[-- Attachment #2: Type: text/html, Size: 2346 bytes --]
next reply other threads:[~2014-02-10 10:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-10 10:59 Mark Janssen [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-02-09 20:56 Mismatch in url escaping between org and exported html Mark Janssen
2014-02-09 22:07 ` Mark Janssen
2014-02-10 11:06 ` Bastien
2014-02-10 11:37 ` Mark Janssen
2014-02-11 10:10 ` Bastien
2014-02-11 11:44 ` Mark Janssen
2014-02-11 19:02 ` Michael Brand
2014-02-11 20:54 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADJpCbkng+vB=gxu8iMFdw3inojGs+D0SQLsRStMXOfBShcJzg@mail.gmail.com' \
--to=mpc.janssen@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).