add `trim` attribute to remove trailing newlines.