[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] get rid of empty caption on html export?
From: |
Nick Dokos |
Subject: |
Re: [O] get rid of empty caption on html export? |
Date: |
Fri, 17 Aug 2012 17:43:29 -0400 |
Matt Price <address@hidden> wrote:
> I have asimpl table in an org document which, when i export to HTML,
> is for some reason accompanied by an empty <caption></caption> tag.
> My wordpress theme causes the caption to take up valuable space... is
> there any way to surpress the caption tag from being created on
> export? If not, maybe osmeone has a css trick that will stop the
> caption tag from taking up vertical space on the screen if there's
> nothing inside it?
org-html.el says:
,----
| ;; Since the output of HTML table formatter can also be used in
| ;; DocBook document, we want to always include the caption to make
| ;; DocBook XML file valid.
| (push (format "<caption>%s</caption>" (or caption "")) html)
`----
which seems a bit smelly to me, but it explains the empty caption.
Sorry, can't help with CSS.
Nick