Fix greentext accross lines and do not greentext in the middle of the line