emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Jonathan Arkell <jonathana@criticalmass.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Underscores in HTML Exported URLs get backslashes added
Date: Thu, 10 Feb 2011 04:26:59 -0500	[thread overview]
Message-ID: <871v3gck9o.fsf@norang.ca> (raw)
In-Reply-To: <70EEB780-5CD2-4299-93E0-932951CF3B32@criticalmass.com> (Jonathan Arkell's message of "Wed, 9 Feb 2011 11:58:57 -0500")

Jonathan Arkell <jonathana@criticalmass.com> writes:

> Hi list
>
> I am having a problem, and my google-fu is a little weak in finding the solution.  Whenever I do an HTML export of an org-page if a URL contains underscores in it it will be exported escaped with a backslash in the text of the url.
>
> For instance if I have an org buffer:
>
> ** Some foo title for context
>
> this is an url:  http://somefoo.com/this_is_broken
>
>
>
> Will get exported to:
>
> <h2 id="sec-2"> Some foo title for context </h2>
> <p> this is an url:  <a href="http://somefoo.com/this_is_broken">http://somefoo.com/this\_is\_broken</a></p>
>
>
> Does anyone have any idea what is going on?

Hi Jonathan,

Just wrap the http:// ... in [[ ]] as in
[[http://somefoo.com/this_is_broken]]

Regards,
Bernt

  reply	other threads:[~2011-02-10  9:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09 16:58 Underscores in HTML Exported URLs get backslashes added Jonathan Arkell
2011-02-10  9:26 ` Bernt Hansen [this message]
2011-02-10 13:04   ` Bastien
2011-02-10 14:04     ` Bernt Hansen

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=871v3gck9o.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=jonathana@criticalmass.com \
    /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).