fixed html font size parsing and writing