don't remove attributes on text nodes
Merge branch 'master' into gh-pages