add doctype option to tags fix #8