emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [patch][ox-html] Stylistic changes


From: Rasmus
Subject: Re: [O] [patch][ox-html] Stylistic changes
Date: Sun, 16 Mar 2014 14:06:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

>> Second, for some reason ox-html replaces a couple of entities by
>> itself—rather than letting org-entities do it—but uses hex 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 <address@hidden>
>   Date:   Sat Mar 2 11:00:46 2013 +0530
>
>       Add Freemind Mindmap Back-End for Org Export Engine
>       
>       * contrib/lisp/ox-freemind.el: New file.
>       
>       * 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!

—Rasmus

-- 
May the Force be with you



reply via email to

[Prev in Thread] Current Thread [Next in Thread]