From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: [patch][ox-html] Stylistic changes Date: Mon, 17 Mar 2014 13:01:02 -0400 Message-ID: <20140317170102.GA75979@eyeBook> References: <874n2z3ruf.fsf@gmx.us> <87d2hmsbuc.fsf@gmail.com> <87eh21k1qx.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPaug-0000hC-7E for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 13:01:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPauT-0003pj-Qk for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 13:01:22 -0400 Content-Disposition: inline In-Reply-To: <87eh21k1qx.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org, Nicolas Goaziou , Rasmus On Mon, Mar 17, 2014 at 03:17:10AM +0100, Bastien wrote: > Hello, > > Nicolas Goaziou writes: > > > So if the change is only stylistic, I see no reason to break > > compatibility with "ox-freemind.el". > I would favor a solution where the HTML backend uses what's > readable (— and friends) and where the Freemind backend > deals with this. > > Maybe `org-html-special-string-regexps' could be a variable > and Freemind could temporarily set it up to what it needs? The use of numeric vs. named entities is not just stylistic. XHMTL[45] only support the 5 basic named entities interally: - & - the ampersand & - " - the double quote " - ' single quote ' - < - less-than < - > - greater-than > So including any others will generate non-conforming output. Since the change is cosmetic, I don't see the purpose in adding a lot of conditional code to the exporter to output different entities for html[45] vs xhtml[45]. rick