anilsson has uploaded a patch.
Description:
Word.
In writing out styles there is a test for "before" and "after" that the attribute is not written if the value is 0.
However before=0 and after=0 is significant.
The problem was discovered by reading and then writing a file, causing format to change.
Patch that fixes the problem i attached.
Regards
Anders Nilsson