emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [NEW EXPORTER] [BUG] HTML_CONTAINER_CLASS property ignored
@ 2013-02-24 16:53 Rick Frankel
  2013-02-24 18:42 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Frankel @ 2013-02-24 16:53 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas-

The new HTML exporter does not actually use the value of the
:HTML_CONTAINER_CLASS: property. The old exporter saved the value off
into the property :html-container-class on the headline (with
`org-export-remember-html-container-classes'), the new exporter
references the `:html-container-class' property on the headline, but i
see no way to set it.

My guess is that on ox-html.el:1917 (the only reference to :html-container-class)
   
   (extra-class (org-element-property :html-container-class headline))

should be

   (extra-class (org-element-property :HTML_CONTAINER_CLASS headline))

Does this seem the correct fix to you?

rick

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [NEW EXPORTER] [BUG] HTML_CONTAINER_CLASS property ignored
  2013-02-24 16:53 [NEW EXPORTER] [BUG] HTML_CONTAINER_CLASS property ignored Rick Frankel
@ 2013-02-24 18:42 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-02-24 18:42 UTC (permalink / raw)
  To: Rick Frankel; +Cc: emacs-orgmode

Hi Rick,

Rick Frankel <rick@rickster.com> writes:

> My guess is that on ox-html.el:1917 (the only reference to :html-container-class)
>    
>    (extra-class (org-element-property :html-container-class headline))
>
> should be
>
>    (extra-class (org-element-property :HTML_CONTAINER_CLASS headline))
>
> Does this seem the correct fix to you?

Yes.  Fixed, thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-24 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-24 16:53 [NEW EXPORTER] [BUG] HTML_CONTAINER_CLASS property ignored Rick Frankel
2013-02-24 18:42 ` Bastien

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