On Sat, Oct 2, 2021 at 11:03 AM Hanno Perrey <ha...@hoowl.se> wrote: > > Hej, > > I have noticed that properties that stretch over multiple lines using > the :value+: syntax are ignored by org-element-property and therefore > also by e.g. org-export-get-node-property when exporting to ics via > ox-icalendar.el (see example below). I was wondering now whether this is > intentional and to be expected or a bug?
I use the :value+: syntax for the subtree properties regularly. For exports, though, you need to prefix the properties with EXPORT_. See the (org) Export Settings node in Org manual. > When exporting sub-trees, special node properties can override the above keywords. These properties have an ‘EXPORT_’ prefix. For example, ‘DATE’ becomes, ‘EXPORT_DATE’ when used for a specific sub-tree. Except for ‘SETUPFILE’, all other keywords listed above have an ‘EXPORT_’ equivalent. Here's one of the pathogenic test cases of ox-hugo: ===== ** Custom front matter in multiple lines :PROPERTIES: :EXPORT_FILE_NAME: custom-front-matter-multiple-lines :EXPORT_DATE: 2017-07-24 :EXPORT_HUGO_CUSTOM_FRONT_MATTER: :foo bar :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :baz zoo :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :alpha 1 :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :beta "two words" :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :gamma 10 :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :empty_string "" :END: ===== All the HUGO_CUSTOM_FRONT_MATTER properties get collected as expected. Here's another example: ===== #+author: #+options: toc:nil * Heading :PROPERTIES: :EXPORT_AUTHOR: abc def :EXPORT_AUTHOR+: ghi jkl :EXPORT_AUTHOR+: kmo pqr :END: ===== C-c C-e C-s t A exports to: ===== _________________________ HEADING abc def ghi jkl kmo pqr _________________________ =====