From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Underscores in HTML Exported URLs get backslashes added Date: Thu, 10 Feb 2011 04:26:59 -0500 Message-ID: <871v3gck9o.fsf@norang.ca> References: <70EEB780-5CD2-4299-93E0-932951CF3B32@criticalmass.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=44138 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnSo0-0001C6-TL for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 04:27:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnSnu-0000Ib-5T for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 04:27:11 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:28256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnSnu-0000HR-3f for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 04:27:10 -0500 In-Reply-To: <70EEB780-5CD2-4299-93E0-932951CF3B32@criticalmass.com> (Jonathan Arkell's message of "Wed, 9 Feb 2011 11:58:57 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jonathan Arkell Cc: emacs-orgmode Jonathan Arkell 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: > >

Some foo title for context

>

this is an url: http://somefoo.com/this\_is\_broken

> > > 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