I’d like to back up a series of questions from the past that haven’t had any results yet.
See “Clean up .odt file?”.
Note: the examples below have been modified and saved in LO Writer
- Version: 25.8.2.2 (X86_64)*
- Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f*
- CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win*
- Locale: it-IT (it_IT); UI: en-US*
- Calc: threaded*
and later reopened as read-only XML
The funny XML I found in some of my documents is a motivation. Take this example:
<text:p text:style-name="Text_20_body">
Note that ... It may become a repeatable loop
<text:span text:style-name="T9">in these cases</text:span>
:
</text:p>
The words “in these cases” above have no special formatting. Actually, in the original, I had a single word uselessly formatted, “those”, which appeared split like this nonsense
th
<text:span text:style-name="T9">os</text:span>
e
Trying to change and understand it, I eventually had to delete the entire sequence in the phrase to see that useless formatting disappear.
But as I reopened the document and typed anew “in these cases” I ended up seeing again that formatting reappearing around them!
There’s something seriously broken in this behavior.
[EDIT]
Find attached a sample document of the madness above
formatting.odt (11.6 KB)