To reproduce:
- create a document with the following content:
-> the display actually show the version before the modification and the save instead of the current state of the document Paradoxically, if the document is *not* saved, then the second macros end up with the modified version of $doc. |