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: Nicolas Goaziou
Subject: Re: [O] [patch][ox-html] Stylistic changes
Date: Sun, 16 Mar 2014 10:59:39 +0100

Hello,

Rasmus <address@hidden> writes:

> Here's a couple of minor changes for ox-html.

Thank you.

> First, I dropped the references to HTML5 hgroup since apparently W3
> did the same¹.

Applied.

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


Regards,

-- 
Nicolas Goaziou



reply via email to

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