summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-03-02 18:30:06 +0100
committerBastien Guerry <bzg@altern.org>2011-03-02 18:30:06 +0100
commitfe67a66e2f94cda035a9036606ec429883bb9bf3 (patch)
tree8448643890c34a3d1ebc7afb9f7dde0635d1a09a
parenteae2dffd67ab19732dababfd5a6f28e939ab1011 (diff)
downloadorg-mode-fe67a66e2f94cda035a9036606ec429883bb9bf3.tar.gz
Docfix: explain how to escape the in *-html-(pre|post)amble-format.
* org-html.el (org-export-html-postamble-format) (org-export-html-preamble-format): explain how to escape the `%' character.
-rw-r--r--lisp/org-html.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/org-html.el b/lisp/org-html.el
index eea58b9..c49a90e 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -354,7 +354,10 @@ Setting :html-preamble in publishing projects will override this."
'(("en" "<h1 class=\"title\">%t</h1>"))
"The format for the HTML preamble.
-%t stands for the title."
+%t stands for the title.
+
+If you need to use a \"%\" character, you need to escape it
+like that: \"%%\"."
:group 'org-export-html
:type 'string)
@@ -377,7 +380,10 @@ Setting :html-postamble in publishing projects will override this."
%e stands for the email(s).
%d stands for the date.
%c will be replaced by information about Org/Emacs.
-%v will be replaced by `org-export-html-validation-link'."
+%v will be replaced by `org-export-html-validation-link'.
+
+If you need to use a \"%\" character, you need to escape it
+like that: \"%%\"."
:group 'org-export-html
:type 'string)