emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kodi Arfer <kodi@arfer.net>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] ox-html: Restore wrongly omitted table attributes under HTML5.
Date: Sat, 29 Jun 2013 19:30:42 -0400	[thread overview]
Message-ID: <51CF6E22.4040202@arfer.net> (raw)
In-Reply-To: <8761wwk0gi.fsf@gmail.com>

On 2013 Jun 29 Sat 6:37:33 PM -0400, Nicolas Goaziou 
<n.goaziou@gmail.com> wrote:
> Kodi Arfer <kodi@arfer.net> writes:
>
>>  From edd97671641e28c3e240efe6ea8fa8d77b4b7eae Mon Sep 17 00:00:00 2001
>> From: Kodi Arfer <git@arfer.net>
>> Date: Sat, 29 Jun 2013 10:43:07 -0400
>> Subject: [PATCH] ox-html: Restore wrongly omitted table attributes under
>>   HTML5.
>>
>> * lisp/ox-html.el (org-html-table): For HTML5,
>>    omit :html-table-attributes but not :id or :attr_html.
>
> Thank you for your patch. Could you rebase it against "maint"? I cannot
> apply it at the moment.

I don't think I can. I'm not clear about the relationship between maint 
and master in general, but it looks like maint doesn't have the bug my 
patch is supposed to fix, because it doesn't treat an HTML5 doctype 
specially at all.

>> +	       (unless (org-html-html5-p info)
>> +		 (plist-get info :html-table-attributes))
>
> One nitpick. It is more explicit to use:
>
>    (and (not (org-html-html5-p info))
>         (plist-get info :html-table-attributes))
>
> since you are using the returned value.

Sure, I can change that. Should I base the patch off master again?

  reply	other threads:[~2013-06-29 23:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-29 15:06 [PATCH] ox-html: Restore wrongly omitted table attributes under HTML5 Kodi Arfer
2013-06-29 22:37 ` Nicolas Goaziou
2013-06-29 23:30   ` Kodi Arfer [this message]
2013-06-30  7:35     ` Nicolas Goaziou
2013-06-30 20:14       ` Bastien

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=51CF6E22.4040202@arfer.net \
    --to=kodi@arfer.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).