Hi
I would try a "cleaning" regex for all files, suppressing all the \n:
And after, use the Calibre Editor menu "
Beautify all files" to put back everything where it should. I am not sure about the exact title of this menu, in French it's "
Embellir tous les fichiers"