From: Nick Dokos <email@example.com> To: Matt Price <firstname.lastname@example.org> Cc: Org Mode <email@example.com> Subject: Re: get rid of empty caption on html export? Date: Fri, 17 Aug 2012 17:43:29 -0400 [thread overview] Message-ID: <6908.1345239809@alphaville> (raw) In-Reply-To: Message from Matt Price <firstname.lastname@example.org> of "Fri\, 17 Aug 2012 17\:21\:23 EDT." <CAN_Dec_LkwKH-4FEE7CLcB68R2dp_18vjNP-SW+_-2YfSUbxTw@mail.gmail.com> Matt Price <email@example.com> 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
next prev parent reply other threads:[~2012-08-17 21:43 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-17 21:21 Matt Price 2012-08-17 21:43 ` Nick Dokos [this message] 2012-08-18 14:58 ` Bastien 2012-08-18 15:37 ` Jambunathan K
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=6908.1345239809@alphaville \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --subject='Re: get rid of empty caption on html export?' \ /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
Code repositories for project(s) associated with this 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).