fix nameslog newlines in markdown