allow hashref in new
call `mkd_deallocate_tags` if html5 flag is off"