From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4IwvOwSXpGIXFAAAbAwnHQ (envelope-from ) for ; Sat, 11 Jun 2022 15:22:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SEw2OgSXpGLkegEAG6o9tA (envelope-from ) for ; Sat, 11 Jun 2022 15:22:12 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4CF4116245 for ; Sat, 11 Jun 2022 15:22:12 +0200 (CEST) Received: from localhost ([::1]:46576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0147-0005fH-Ec for larch@yhetil.org; Sat, 11 Jun 2022 09:22:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzhcB-00011W-Kw for emacs-orgmode@gnu.org; Fri, 10 Jun 2022 12:36:04 -0400 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:41943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzhc8-00035G-Cg for emacs-orgmode@gnu.org; Fri, 10 Jun 2022 12:36:02 -0400 Received: by mail-pg1-x52a.google.com with SMTP id e66so25240523pgc.8 for ; Fri, 10 Jun 2022 09:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=GEqlRlSGkWNyCYoeLuOAeTRYiE5NXMi2zl0laRccHLU=; b=n9KGntnU8LZ+XXCj9lD2O9WaMeywN5i1/83zOP0KjRHXZKwur2lRIpBZsGaYcKlqRb lonTaN5SjoeVx0rTir2/c5il1QPrdwEPoU+jrOCPZJ5GRyntRTQ8b1eRl4ymXUTJ88gb dRPjYUU6tftHDW/M8UaiNpGgjNm1wTBeg5Yg893DfTIUN15y2zMNXG+4iyL++xGgOMi/ xDNG6isKwP4oGt6zz9ACeWowJFTDudAv3ZBTuQQAxzf65FId3JVqqiX4BySQ5t9rM1uy LcrfRT7o1c5nc6vUzkiLpYcFR0G0hNRJx2UYwOMlZJrwYJ43BAgqrK/jWUGbXwndIRqh bthg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GEqlRlSGkWNyCYoeLuOAeTRYiE5NXMi2zl0laRccHLU=; b=m7DsWpOKYzAcIy6fuCGWiNBUr2I2sE7njuvY55WZ7oct5jQ/ETLmE6t01rCyME7/IS wl1vPUdX/9QqeK5Ru//CJJXs2fbl+uHideScgtP80jbBLZgxbACucX3SleKR9xmSntKI a/m7SsmKs8mwECGfdWtAmcO6NkvO2ZdlsIjznDNc3oMS2/VNOvagSdOEPR19Bkx5EN/q aH18KBsZzMgQo1PYDOsUUw+mITr+egUXhJn2eZMULdQkbgPbZvhsMexhQ8OZ/owHM9Y3 iX9wgrD3m4J4NsFZwpMwkEiJooao0bB/PKiYWfwy/KGb4Pe1l0plYwFuHZ59o+NCSLtM PJkg== X-Gm-Message-State: AOAM530bMTLkY+AJut5N1xNWLxbW5SeKgTWUtxNK4FPuvwkyYWJImpKn HSXeqHrciYX38i/Uo+lB80sK5tXpnG5DUhpAhiPj7eaXxuCy0g== X-Google-Smtp-Source: ABdhPJzSU8wK723hPwZIyzrLzK85sxLJzNlOmk3BaBggRycAlLR1oLgO+TAQTS3QEQX8ONbv4Q2sESuyddlbS8Kxl0c= X-Received: by 2002:a63:da41:0:b0:400:14af:790b with SMTP id l1-20020a63da41000000b0040014af790bmr8904265pgj.427.1654878957263; Fri, 10 Jun 2022 09:35:57 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Pierre_Balay=C3=A9?= Date: Fri, 10 Jun 2022 18:35:20 +0200 Message-ID: Subject: Bug: html-postamble string does not allow space [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/27.2/lisp/org/)] To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000064dfcc05e11a884a" Received-SPF: pass client-ip=2607:f8b0:4864:20::52a; envelope-from=pierrebalaye@gmail.com; helo=mail-pg1-x52a.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URI_HEX=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 11 Jun 2022 09:21:07 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654953732; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GEqlRlSGkWNyCYoeLuOAeTRYiE5NXMi2zl0laRccHLU=; b=fjII6kpcCASEVJVNcVTtC6YFjSn+hDpQh4EWvW9NKmQV26dvAjQFxqeKe+8rZVyPPY31AK sEF4DYgnfd/CON3vFIRMIbt7m6o8FMnLnrByCoqUF3m0KJAM3dZ1ZNx6g/9EXYM3hPvqpX O74wdLO2JCFZFv9xIRS65SVcWUcqOvPA78/jDoHxC7pJnjq56FqASOVCEfjKQTE0y3Gmi4 6hG+rKLil7dqTkpghWNKZBQcCuXWVy66HBWMcBiKNt6VuSk/1OXBLn4e0mmvWu1Gjs3yiJ dYw+hO2gHxm8VHEmaPWsMFxW91mX9YfIEtnU+e8y/HxVXwfIaV3QDO27ITdrEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654953732; a=rsa-sha256; cv=none; b=aiTm2M1h4K/2udOlV7Z78Nk+Gwg0bA7Y/83By0J0rh4AT+3VBRlm94A3j9jViDLutzIDrv /+c67m6AkmtoXFhWjz9w9shyn6Fw9kCv2LEWp7DFk96CRBejdAYutOmeH3CPAj8l+7Ke0q kElDardKKyyzpVoDH59l0L6mLcnslfP6JJLW1ACqcpKkfhuow95TXjfpryt8zA3Su+dgNd 2YkHRedXtF7wzV2vupNwwS2EcYrFjoOkPZyN6/dzjrIVSh3djGFL1rVvP7lK1BbOh5VmHV eTQf26AyNU8Igu+Fme2byDF9vqnpbt0HlpW8pIVsQ1ETwy8XKU3zIVE82S11dg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=n9KGntnU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.59 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=n9KGntnU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4CF4116245 X-Spam-Score: -3.59 X-Migadu-Scanner: scn1.migadu.com X-TUID: Gub76efKtK/Q --00000000000064dfcc05e11a884a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am using html export feature for org files and I want to change the value of html-postamble (see [doc]( https://orgmode.org/manual/HTML-preamble-and-postamble.html)). Here is the `index.org` file: ``` #+title: Home Welcome #+options: html-postamble:"TESTSPACE" ``` When I export with `M-x org-html-export-as-html` everything is all right and I have the following at the end of the html produced buffer: ```html
TESTSPACE
``` But if I add a space: ``` #+title: Home Welcome #+options: html-postamble:"TEST SPACE" ``` it raises this error I cannot solve: `org-export--parse-option-keyword: End of file during parsing` Emacs : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2022-05-10 Package: Org mode version 9.4.4 (release_9.4.4 @ /usr/local/share/emacs/27.2/lisp/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-odt-format-headline-function 'org-odt-format-headline-default-function org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-mode-hook '(#[0 "\301\211 \207" [imenu-create-index-function org-imenu-get-tree] 2] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function org-export-before-parsing-hook '(org-attach-expand-links) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302 Q \"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("mailto" :follow #[514 "\301\300\302 Q \"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("https" :follow #[514 "\301\300\302 Q \"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("http" :follow #[514 "\301\300\302 Q \"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("ftp" :follow #[514 "\301\300\302 Q \"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-latex-format-headline-function 'org-latex-format-headline-default-function org-link-elisp-confirm-function 'yes-or-no-p org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"= ] org-html-format-headline-function 'org-html-format-headline-default-function ) Cordialement, Dr. Pierre BALAY=C3=89 *______________________________________________* *M=C3=A9decin de Sant=C3=A9 Publique et M=C3=A9decine Sociale* *AHU en BIostatistiques et Informatique M=C3=A9dicale* *Doctorant ED446 | ULR2694 | CERIM | CHU Lille * --00000000000064dfcc05e11a884a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I am using html export feature for org files and I wan= t to change the value of html-postamble (see [doc](https://orgmode.org/manual= /HTML-preamble-and-postamble.html)).

Here is the `index.org` file:
```
#+title: Home

Welcome<= br>
#+options: html-postamble:"TESTSPACE"
```

When I= export with `M-x org-html-export-as-html` everything is all right and I ha= ve the following at the end of the html produced buffer:

```html
= <div id=3D"postamble" class=3D"status">
TESTSP= ACE
</div>
```

But if I add a space:
```
#+title: = Home

Welcome

#+options: html-postamble:"TEST SPACE"=
```

it raises this error I cannot solve:
`org-export--parse-o= ption-keyword: End of file during parsing`

Emacs =C2=A0: GNU Emacs 2= 7.2 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)
=C2=A0of = 2022-05-10
Package: Org mode version 9.4.4 (release_9.4.4 @ /usr/local/s= hare/emacs/27.2/lisp/org/)

current state:
=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
(setq
=C2=A0org-src-mode-hook '(org-src-bab= el-configure-edit-buffer org-src-mode-configure-edit-buffer)
=C2=A0org-l= ink-shell-confirm-function 'yes-or-no-p
=C2=A0org-metadown-hook '= ;(org-babel-pop-to-session-maybe)
=C2=A0org-clock-out-hook '(org-clo= ck-remove-empty-clock-drawer)
=C2=A0org-html-format-inlinetask-function = 'org-html-format-inlinetask-default-function
=C2=A0org-odt-format-he= adline-function 'org-odt-format-headline-default-function
=C2=A0org-= ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default=C2=A0org-mode-hook '(#[0 "\301\211 \207" [imenu-create-ind= ex-function org-imenu-get-tree] 2]
#[0 "\300\301\302\303\304$\20= 7"
=C2=A0 [add-hook change-major-mode-hook org-show-all append l= ocal] 5]
#[0 "\300\301\302\303\304$\207"
=C2=A0 [add-= hook change-major-mode-hook org-babel-show-result-all append local]
= =C2=A0 5]
org-babel-result-hide-spec org-babel-hide-all-hashes)
= =C2=A0org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n= (fn NAME CONTENTS)"]
=C2=A0org-archive-hook '(org-attach-archiv= e-delete-maybe)
=C2=A0org-confirm-elisp-link-function 'yes-or-no-p=C2=A0org-agenda-before-write-hook '(org-agenda-add-entry-text)
= =C2=A0org-metaup-hook '(org-babel-load-in-session-maybe)
=C2=A0org-b= ibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 = "\n\n(fn ENTRY)"]
=C2=A0org-latex-format-drawer-function #[514= "\207" [] 3 "\n\n(fn _ CONTENTS)"]
=C2=A0org-babel-= pre-tangle-hook '(save-buffer)
=C2=A0org-tab-first-hook '(org-ba= bel-hide-result-toggle-maybe org-babel-header-arg-expand)
=C2=A0org-asci= i-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CO= NTENTS WIDTH)"]
=C2=A0org-agenda-loop-over-headlines-in-active-regi= on nil
=C2=A0org-occur-hook '(org-first-headline-recenter)
=C2=A0= org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawer= s
=C2=A0org-cycle-show-empty-lines org-optimize-window-after-visibili= ty-change)
=C2=A0org-speed-command-hook '(org-speed-command-activate= org-babel-speed-command-activate)
=C2=A0org-odt-format-inlinetask-funct= ion 'org-odt-format-inlinetask-default-function
=C2=A0org-export-bef= ore-parsing-hook '(org-attach-expand-links)
=C2=A0org-confirm-shell-= link-function 'yes-or-no-p
=C2=A0org-link-parameters '(("at= tachment" :follow org-attach-follow :complete
org-attach-complet= e-link)
=C2=A0 =C2=A0 =C2=A0 ("id" :follow org-id-open)
= =C2=A0 =C2=A0 =C2=A0 ("eww" :follow org-eww-open :store org-ew= w-store-link)
=C2=A0 =C2=A0 =C2=A0 ("rmail" :follow org-rma= il-open :store org-rmail-store-link)
=C2=A0 =C2=A0 =C2=A0 ("mhe&= quot; :follow org-mhe-open :store org-mhe-store-link)
=C2=A0 =C2=A0 = =C2=A0 ("irc" :follow org-irc-visit :store org-irc-store-link :ex= port
org-irc-export)
=C2=A0 =C2=A0 =C2=A0 ("info" :fo= llow org-info-open :export org-info-export :store
org-info-store-link= )
=C2=A0 =C2=A0 =C2=A0 ("gnus" :follow org-gnus-open :store= org-gnus-store-link)
=C2=A0 =C2=A0 =C2=A0 ("docview" :foll= ow org-docview-open :export org-docview-export
:store org-docview-sto= re-link)
=C2=A0 =C2=A0 =C2=A0 ("bibtex" :follow org-bibtex-= open :store org-bibtex-store-link)
=C2=A0 =C2=A0 =C2=A0 ("bbdb&q= uot; :follow org-bbdb-open :export org-bbdb-export :complete
org-bbdb= -complete-link :store org-bbdb-store-link)
=C2=A0 =C2=A0 =C2=A0 (&quo= t;w3m" :store org-w3m-store-link) ("file+sys") ("file+e= macs")
=C2=A0 =C2=A0 =C2=A0 ("shell" :follow org-link-= -open-shell)
=C2=A0 =C2=A0 =C2=A0 ("news" :follow
#[5= 14 "\301\300\302 Q \"\207" ["news" browse-url &quo= t;:"] 6
=C2=A0"\n\n(fn URL ARG)"]
)
=C2= =A0 =C2=A0 =C2=A0 ("mailto" :follow
#[514 "\301\300\30= 2 Q \"\207" ["mailto" browse-url ":"] 6
= =C2=A0"\n\n(fn URL ARG)"]
)
=C2=A0 =C2=A0 =C2=A0 (&= quot;https" :follow
#[514 "\301\300\302 Q \"\207"= ["https" browse-url ":"] 6
=C2=A0"\n\n(fn = URL ARG)"]
)
=C2=A0 =C2=A0 =C2=A0 ("http" :follo= w
#[514 "\301\300\302 Q \"\207" ["http" brow= se-url ":"] 6
=C2=A0"\n\n(fn URL ARG)"]
)<= br> =C2=A0 =C2=A0 =C2=A0 ("ftp" :follow
#[514 "\301\= 300\302 Q \"\207" ["ftp" browse-url ":"] 6 =C2=A0"\n\n(fn URL ARG)"]
)
=C2=A0 =C2=A0 =C2=A0= ("help" :follow org-link--open-help)
=C2=A0 =C2=A0 =C2=A0 = ("file" :complete org-link-complete-file)
=C2=A0 =C2=A0 =C2= =A0 ("elisp" :follow org-link--open-elisp)
=C2=A0 =C2=A0 = =C2=A0 ("doi" :follow org-link--open-doi))
=C2=A0org-latex-for= mat-headline-function 'org-latex-format-headline-default-function
= =C2=A0org-link-elisp-confirm-function 'yes-or-no-p
=C2=A0org-latex-f= ormat-inlinetask-function 'org-latex-format-inlinetask-default-function=
=C2=A0org-html-format-drawer-function #[514 "\207" [] 3 "= ;\n\n(fn NAME CONTENTS)"]
=C2=A0org-html-format-headline-function &= #39;org-html-format-headline-default-function
=C2=A0)

Cordialement,

Dr. Pierre= BALAY=C3=89

_________________________= _____________________

<= div dir=3D"ltr">M=C3=A9decin de Sant=C3=A9 Publique et = M=C3=A9decine Sociale
AHU en BIostatistiques et Informatique M=C3=A9dicale
Doctorant ED446 | ULR2694 | CERIM | CHU Lille
--00000000000064dfcc05e11a884a--