Change the default document language to Romanian for all documents.
Go to autocorrect options, and change to the default Romanian rules.
Type "Ana i-a". It will be autocorrected (badly) to "Ana I-a".
looks like a duplicate of the bug below.
please tell which LibO version you were using.
*** This bug has been marked as a duplicate of bug 76964 ***
LibreOffice 22.214.171.124 build 420m0 build 2 - the Ubuntu version.