add support for html5 elements and svg
Merge pull request #1 from jlyu/patch-1

add support for html5 elements and svg