br transform: remove extra space at eol