filter empty placeholder selectors
make sure pseudo elements stick to the end when render
Merge branch 'fix-extend-2'