emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: [patch][ox-html] Stylistic changes
Date: Sun, 16 Mar 2014 10:59:39 +0100	[thread overview]
Message-ID: <87d2hmsbuc.fsf@gmail.com> (raw)
In-Reply-To: <874n2z3ruf.fsf@gmx.us> (rasmus@gmx.us's message of "Sun, 16 Mar 2014 01:33:12 +0100")

Hello,

Rasmus <rasmus@gmx.us> 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 <kjambunathan@gmail.com>
  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	other threads:[~2014-03-16 10:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-16  0:33 [patch][ox-html] Stylistic changes Rasmus
2014-03-16  9:59 ` Nicolas Goaziou [this message]
2014-03-16 13:06   ` Rasmus
2014-03-17  2:17   ` Bastien
2014-03-17 17:01     ` Rick Frankel
2014-03-17 22:19       ` Rasmus
2014-03-18  0:35         ` Rick Frankel
     [not found]           ` <874n2w2n62.fsf@gmx.us>
2014-03-18 13:49             ` Rick Frankel
2014-03-18 19:46               ` Rasmus
2014-03-19 14:00                 ` Rick Frankel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2hmsbuc.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).