From: Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
To: emacs-orgmode@gnu.org
Subject: ox-html: Bug or feature for export of title and meta information?
Date: Sat, 21 Sep 2019 14:20:01 +0200 [thread overview]
Message-ID: <87d0ft3kpa.fsf@informationelle-selbstbestimmung-im-internet.de> (raw)
Hi there,
I wonder about the treatment of different pieces of HTML header
information in org-html--build-meta-info: Contents for the title
element are computed by org-export-data. This interprets Org markup
such as italics or hyperlinks although title elements are not
allowed to contain the resulting sub-elements. Why is
org-export-data applied? Why not produce plain text?
Contents for the description and keywords meta attributes are
computed with org-html-encode-plain-text and replacement of
quotation marks. Seems fine to me.
Contents for the author meta attribute are computed with
org-element-interpret-data, before org-html-encode-plain-text and
quotation mark replacement are applied. How would author
information look like that benefits from this more complex treatment
(compared to description and keywords)?
Thanks
Jens
next reply other threads:[~2019-09-21 12:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-21 12:20 Jens Lechtenboerger [this message]
2020-02-11 8:16 ` ox-html: Bug or feature for export of title and meta information? Bastien
2020-02-14 17:21 ` Jens Lechtenboerger
2020-02-14 19:31 ` Nicolas Goaziou
2020-02-14 19:38 ` Nicolas Goaziou
2020-02-14 20:47 ` Bastien
2020-02-15 14:35 ` Nicolas Goaziou
2020-02-16 10:44 ` Bastien
2020-02-15 7:45 ` Jens Lechtenboerger
2020-02-15 14:02 ` Nicolas Goaziou
2020-02-16 18:16 ` Jens Lechtenboerger
2020-02-17 9:47 ` Nicolas Goaziou
2020-02-17 18:32 ` Jens Lechtenboerger
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=87d0ft3kpa.fsf@informationelle-selbstbestimmung-im-internet.de \
--to=jens.lechtenboerger@fsfe.org \
--cc=emacs-orgmode@gnu.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).