add automatic closing of html tags with </