I see. :-) I just saved it with .odt extension and tried to force Word to open it. It was two in the morning.
The result is valid XML and looks right according to how I understand the task so let's hope it helps anyone. I think the code is kinda neat.
Jenda
Enoch was right!
Enjoy the last years of Rome.
In reply to Re^3: fix ODT files with line breaks looking poor
by Jenda
in thread fix ODT files with line breaks looking poor
by melutovich
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |