[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Attributes on HTML tables?
From: |
Christian Moe |
Subject: |
Re: [O] Attributes on HTML tables? |
Date: |
Thu, 11 Apr 2013 10:28:17 +0200 |
User-agent: |
mu4e 0.9.9.5-dev6; emacs 24.3.1 |
Nicolas Goaziou writes:
> Caveat: `org-html-table-tag' is now named
> `org-html-table-default-attributes' and expect a plist as its value.
> Also, a nil value will remove the property from the attributes.
>
> Could you test it and confirm this is now behaving in a desirable way?
Hi,
I've run some tests and confirm it works as I'd like it to. Thanks, I
really like this and I hope others like the plist syntax as well.
Late thought, sorry: If we can have this plist syntax as a general rule,
perhaps we should nevertheless keep the :options tag just as a fallback,
to ease the transition for users with a lot of legacy attr_html lines?
It's easier and less catastrophe-prone to do a quick search/replace from
: ^#\+attr_html:
to
: #+attr_html: :options
than it is to automatically replace verbatim attribute code with plists,
especially if there are all sorts of html irregularities in there.
Yours,
Christian
PS. Though if everything is nice and conforming to xhtml, one should be
able to batch convert files from verbatim html attributes to plist syntax with
something like the following -- USE AT OWN RISK, NO WARRANTY IMPLIED:
: perl -i.bak -pe 's/([a-z]+)=([\"\'])(.*?)\2/:\1 \2/g if /^#\+attr_html/i'
*.org
- Re: [O] Attributes on HTML tables?, (continued)
- Re: [O] Attributes on HTML tables?, François Pinard, 2013/04/12
- Re: [O] Attributes on HTML tables?, Eric Abrahamsen, 2013/04/12
- Re: [O] Attributes on HTML tables?, Eric Abrahamsen, 2013/04/13
- Re: [O] Attributes on HTML tables?, Rick Frankel, 2013/04/13
- Re: [O] Attributes on HTML tables?, Eric Abrahamsen, 2013/04/14
- Re: [O] Attributes on HTML tables?, Rick Frankel, 2013/04/14
- Re: [O] Attributes on HTML tables?, Rick Frankel, 2013/04/15
- Re: [O] Attributes on HTML tables?, Rick Frankel, 2013/04/13
- Re: [O] Attributes on HTML tables?, Bastien, 2013/04/14
- Re: [O] Attributes on HTML tables?, Nicolas Goaziou, 2013/04/10
- Re: [O] Attributes on HTML tables?,
Christian Moe <=
- Re: [O] Attributes on HTML tables?, Nicolas Goaziou, 2013/04/11
- Re: [O] Attributes on HTML tables?, Christian Moe, 2013/04/11
- Re: [O] Attributes on HTML tables?, Bastien, 2013/04/11
- Re: [O] Attributes on HTML tables?, Nicolas Goaziou, 2013/04/11