merged autohtmlgem branch