* [bug] [new exporter] [markdown] spoiled URL containing '=' if using http/s org-links
@ 2014-06-05 11:02 Martin Carlé
2014-06-13 10:43 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: Martin Carlé @ 2014-06-05 11:02 UTC (permalink / raw)
To: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [bug] [new exporter] [markdown] spoiled URL containing '=' if using http/s org-links
2014-06-05 11:02 [bug] [new exporter] [markdown] spoiled URL containing '=' if using http/s org-links Martin Carlé
@ 2014-06-13 10:43 ` Bastien
2014-06-13 16:26 ` Martin Carlé
0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2014-06-13 10:43 UTC (permalink / raw)
To: Martin Carlé; +Cc: emacs-orgmode
Hi Martin,
can you try Org latest version from git and says if this still happen?
Thanks,
--
Bastien
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [bug] [new exporter] [markdown] spoiled URL containing '=' if using http/s org-links
2014-06-13 10:43 ` Bastien
@ 2014-06-13 16:26 ` Martin Carlé
0 siblings, 0 replies; 3+ messages in thread
From: Martin Carlé @ 2014-06-13 16:26 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]
Dear Bastien,
yes, I just checked it against the master branch, and how great,
the URL of org-links stays intact now!!!
So, that's solved. Yet, there is another minor issue, as any underscore
char '_' that is contained in the link description (not the URL part)
of an org-link is swallow up and will not appear on the markdown side.
Moreover, seeing all these nice bug fixes that led to today's release,
let me come back to older and maybe somehow forgotten feature request:
http://lists.gnu.org/archive/html/emacs-orgmode/2010-03/msg00379.html
Can't we make these kind of intrusive target-markups-brackets been
hidden, at least optionally, and instead be fontified just similar as link are?
Or could there be posted some hint how to best hack this as a private solution?
Thank you and the list for answering,
mc
On 2014-06-13 Fri 13:43, Bastien <bzg@gnu.org> wrote:
> Hi Martin,
>
> can you try Org latest version from git and says if this still happen?
>
> Thanks,
--
Fetch my gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 7E3CA33F
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 805 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-13 16:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-05 11:02 [bug] [new exporter] [markdown] spoiled URL containing '=' if using http/s org-links Martin Carlé
2014-06-13 10:43 ` Bastien
2014-06-13 16:26 ` Martin Carlé
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).