Strange issue with .Scratch.Get, unpredictable result depending on which page file is saved first in the text editor

Hi,
I have a very strange issue, which I don’t understand and has proven fleeting, so reproductibility was a bit difficulty. But this sample, for now, does include the problem.

I set up the scratch object at the end of base, with some fixed initial content. Same thing happens when at its start anyway.
The object gets bigger in render-link.html, and displayed on page, through “content-before.html” in the “essai” article.
You have to open an editor on both the file of the file you are visiting, in that case, index.md (maybe intro.md but I don’ tthink so) and for instance, render-link.html or baseof.html.
Save in the first file and you will see the “real” the content of .Scratch.Get “object” as it should be. Save on any other file it gets reduced to the dummy content so [[a b] [a b]] instead.


Codebase
hugo: hugo v0.111.3-5d4eb5154e1fed125ca8e9b5a0315c4180dab192+extended linux/amd64 BuildDate=2023-03-12T11:40:50Z VendorInfo=gohugoio
Uname -a:
Linux drm-4236wv5 6.2.13-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 26 Apr 2023 20:50:14 +0000 x86_64 GNU/Linux