fix heading (need a new line before) + fix end of line missing (with 2 spaces) + prevent incompatibilities related to headings inside font formatting