improving the html plugin