When setting up a template variable in template_variables.json with a display type of htmltag, the tagname is not set, and the default "div" is used.
Code:
"name":"3colhead2",
"caption":"3 column heading 2",
"type":"text",
"description":"centre heading",
"display":"htmltag",
"output_properties":{
"tagname":"h4",
"tagid":"",
"class":"",
"style":"",
"attrib":""
}