Use Locale.toLanguageTag() in HtmlTag, fixed #474

Use Locale.toLanguageTag() in HtmlTag, fixed #474