dengste / org-caldav

Caldav sync for Emacs orgmode
GNU General Public License v3.0
712 stars 105 forks source link

Events with org mode syntax in their description seem to mess up the org file #280

Open af00b22f-4fd1-42c0-ba3f-a74ec02e08d0 opened 11 months ago

af00b22f-4fd1-42c0-ba3f-a74ec02e08d0 commented 11 months ago

I have a number of events with a short (or even not short at all) agenda in their description, e.g.

Hi,
let's meet Friday night and
* eat pizza
* have espresso
* go dancing
* and fall asleep afterwards
See you!

This makes the title of the appointment and fall asleep afterwards. I assume, the complete description text should be quoted, maybe in a #+BEGIN_CODE / #+END_CODE or similar?

af00b22f-4fd1-42c0-ba3f-a74ec02e08d0 commented 11 months ago

I changed org-caldav--insert-description to quote all description lines with >, just like email. It isn't particularly beautiful, but it works fine.