Fixed bug which caused inproper tagnames (<input\n param=".."> was parsed as tagname input\n).