emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Martin Carlé" <mc@aiguphonie.com>
To: emacs-orgmode@gnu.org
Subject: [bug] [new exporter] [markdown] spoiled URL containing '=' if using http/s org-links
Date: Thu, 05 Jun 2014 14:02:12 +0300	[thread overview]
Message-ID: <m1y4xbwrez.fsf@on27.dyndns.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

It appears that the markdown export process spoils URLs that conain the
char '=' by wrongly replacing it with '%3D'.

This happens with org-links [[url][some_text]], but not with plain URLs.

I took a quick look at the defun 'org-md-link' and could see that the org-link
URLs are already spoiled when they get retrieved as 'raw-path' by the line:

	  (t (let* ((raw-path (org-element-property :path link))

So, I got stuck there.

Hoping that it's easy to resolve this bug for people more familier with the
new exporter.

All best,
mc

-- 
Fetch my gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 7E3CA33F


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 805 bytes --]

             reply	other threads:[~2014-06-05 11:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 11:02 Martin Carlé [this message]
2014-06-13 10:43 ` [bug] [new exporter] [markdown] spoiled URL containing '=' if using http/s org-links Bastien
2014-06-13 16:26   ` Martin Carlé

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=m1y4xbwrez.fsf@on27.dyndns.org \
    --to=mc@aiguphonie.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).