Ihor Radchenko <yanta...@posteo.net> writes: > Damien Cassou <dam...@cassou.me> writes: >> (defun ox-linuxmag--item (item contents info) >> ... >> The reason `ox-linuxmag--item` has to parse ITEM again is because >> CONTENTS contains "<text:p text:style-name="Normal">item 1 ;</text:p>" >> which misses the initial dash "-" character: i.e., I would like "- item >> 1 ;" in the paragraph instead. > > Just use ITEM. > You can access the contents of ITEM with org-element-contents. > If you just need to append the bullet, use (org-element-property :bullet item)
I don't understand your solution. `org-element-contents` returns a paragraph element. What should I do with it? I can't just export it because that would result in a '<text:p text:style-name="Normal">item 1 ;</text:p>' string which misses the initial "- ". -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill