Rewrite parameters detection algorithm, added support for non-string values

And changed default formatting ways of some default html tags.