added support for html tag that may override inverse option