allow trailing/leading spaces for text node
Merge pull request #30 from deepak1556/minor-patch

allow trailing/leading spaces for text node
fix test for newest component
1.2.1
Automatically rewritten for npm.