Added parsing of html5 attributes minlength and maxlength