emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mark Janssen <mpc.janssen@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Mismatch in url escaping between org and exported html
Date: Mon, 10 Feb 2014 12:37:35 +0100	[thread overview]
Message-ID: <CADJpCb=aT=yh=UfXuwaEV46ZEHSaSSFWsCqZR_AtXO9gCakJTQ@mail.gmail.com> (raw)
In-Reply-To: <87a9dz8bwg.fsf@bzg.ath.cx>


[-- Attachment #1.1: Type: text/plain, Size: 1098 bytes --]

On Mon, Feb 10, 2014 at 12:06 PM, Bastien <bzg@gnu.org> wrote:

> Hi Mark,
>
> Mark Janssen <mpc.janssen@gmail.com> writes:
>
> > If I insert a http:// link containing question marks, the verbatim
> > link being inserted in the org document has the question mark
> > escaped.
>
> I can't reproduce this with latest stable or unstable Org version.
>
>
I shouldn't have posted this to the mailing list at the time I did :(.
Apologies for any confusion I have caused.
 The problem is with escaping of an equals sign not the question mark.

I have attached a demo org and a resulting html file. Note that in the html
file, the url is http://test/test?name%3Dme which is wrong. It should be
http://test/test?name=me

Running C-c C-ehh on that org file gives the attached html. I have started
emacs as:

emacs.exe -Q -l minimal.el test.org

;;minimal.el
(require 'package)
(package-initialize)
(require 'org)


> What version of Org and Emacs are you using?
>
>
(org-version)
"8.2.5h"

(emacs-version)
"GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601)
 of 2013-03-17 on MARVIN"




> Thanks,
>
> --
>  Bastien
>

[-- Attachment #1.2: Type: text/html, Size: 2456 bytes --]

[-- Attachment #2: test.html --]
[-- Type: text/html, Size: 5266 bytes --]

[-- Attachment #3: test.org --]
[-- Type: application/octet-stream, Size: 36 bytes --]

[[http://test/test?name%3Dme][me]]

[-- Attachment #4: minimal.el --]
[-- Type: application/octet-stream, Size: 78 bytes --]

(require 'package)
(package-initialize)
(require 'org)
(require 'ox-html)

  reply	other threads:[~2014-02-10 11:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2014-02-10 10:59 Mark Janssen

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='CADJpCb=aT=yh=UfXuwaEV46ZEHSaSSFWsCqZR_AtXO9gCakJTQ@mail.gmail.com' \
    --to=mpc.janssen@gmail.com \
    --cc=bzg@gnu.org \
    --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).