Nicolas Goaziou writes:
> I didn't look at the problem (nor at Bastien's solution): could someone
> post the proper code that should be generated?
Hi,
I'll try.
This Org code:
A paragraph.
#+begin_annotation
An annotation.
#+end_annotation
Another paragraph.
...should result in this ODT XML snippet:
<text:p text:style-name="Text_20_body">A
paragraph.<office:annotation><dc:creator>Christian Moe</dc:creator><text:p
text:style-name="Text_20_body">An
annotation.</text:p></office:annotation></text:p>
<text:p>Another paragraph.</text:p>
It should not close the first paragraph before the <office:annotation>
element, and it should not wrap that element in a paragraph of its own,
as it did before this evening's fixes.
But it should close the first paragraph with </text:p> after the
<office:annotation> element, and it should open a new <text:p> element
for the second paragraph. The fixes I tested did not.
Hope this made sense.
Yours,
Christian