do not remove result attribute from filter primitives (fix #122)
plugins/cleanupAttrs: replace newline with space when needed (fix #119)