remove redundant string trim
explicitly add the default paragraph style, because the Apple docs lie