Fixed label attributes in BaseHtml
fixes #1796
Merge pull request #1798 from zhuravljov/patch-1

Fixed label attributes in BaseHtml