By inspecting the XML code in the .fodt format of a Writer document, I noticed that Writer automatically inserts hidden character styles whenever I’m editing lines. These styles do not have a visible effect on the screen, and they do not appear in the styles menus.
An example is:
<text:span text:style-name="T10045">#U</text:span>
where I only entered “#U”, which is used for finding lines in my document (it would be deleted from the final version) and for counting features.
Whenever I edit such a line new hidden character styles are inserted automatically at unwanted positions.
There are thousands of such styles in my document (500 pages, 3 languages, 12MB .fodt).
Is it possible to remove these styles?
I’m using LibreOffice 7.3.7.2 on Mac.