From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [patch][ox-html] Stylistic changes Date: Sun, 16 Mar 2014 14:06:39 +0100 Message-ID: <87lhwa5m3k.fsf@gmx.us> References: <874n2z3ruf.fsf@gmx.us> <87d2hmsbuc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPAmB-000826-K7 for emacs-orgmode@gnu.org; Sun, 16 Mar 2014 09:06:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPAm4-00031p-BH for emacs-orgmode@gnu.org; Sun, 16 Mar 2014 09:06:51 -0400 Received: from mout.gmx.net ([212.227.17.20]:50815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPAm4-00031k-1g for emacs-orgmode@gnu.org; Sun, 16 Mar 2014 09:06:44 -0400 In-Reply-To: <87d2hmsbuc.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 16 Mar 2014 10:59:39 +0100") 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: n.goaziou@gmail.com Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: >> Second, for some reason ox-html replaces a couple of entities by >> itself=E2=80=94rather than letting org-entities do it=E2=80=94but uses h= ex references >> (or whatever), rather than a "nice" HTML character entity. The second >> patch fixes this. (I naively assume that there is not a reason for >> not using the pretty references). > > According to the log of the commit introducing the changes, there is > a reason: > > > commit f2b2c8318fa8c2ce82208d717c649377c856802c > Author: Jambunathan K > Date: Sat Mar 2 11:00:46 2013 +0530 > > Add Freemind Mindmap Back-End for Org Export Engine >=20=20=20=20=20=20=20 > * contrib/lisp/ox-freemind.el: New file. >=20=20=20=20=20=20=20 > * lisp/ox-html.el (org-html--tags, org-html-format-headline) > (org-html--format-toc-headline, org-html-checkbox) > (org-html-table-cell, org-html-timestamp) > (org-html-verse-block, org-html-special-string-regexps): > Replace named HTML entities with their numeric counterparts. > This keeps Freemind backend happy. > > So if the change is only stylistic, I see no reason to break > compatibility with "ox-freemind.el". Obviously not. I should have checked with git-blame first, but I honestly didn't remember that this tool existed. Thanks! =E2=80=94Rasmus --=20 May the Force be with you