Improve new element insertion.
Add category 'no-newline-elems' for insertion purposes.