preserve wrapping and border settings while filtering