emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Attributes on HTML tables?


From: Nicolas Goaziou
Subject: Re: [O] Attributes on HTML tables?
Date: Wed, 10 Apr 2013 21:37:59 +0200

Hello,

Christian Moe <address@hidden> writes:

> If I understand the question correctly, I think the union is the correct
> answer, with provided attributes overwriting defaults for the same
> attributes.
>
> In the example we started with, the defaults would create
>
>   <table border="2" cellspacing="0" cellpadding="6" rules="groups"
>   frame="hsides">
>
> If the user specifies
>
>   #+attr_html: :border 2 :rules all :frame border :title My table
>
> I would expect the result
>
>   <table border="2" cellspacing="0" cellpadding="6" rules="all"
>   frame="border" title="My table">

Thank you for all the information.

I have pushed a patch along these lines.

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?


Regards,

-- 
Nicolas Goaziou



reply via email to

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