function createHtmlTagObject(tagName, attributes, innerHTML, meta) {
  return {
    tagName: tagName,
    voidTag: voidTags.indexOf(tagName) !== -1,
    attributes: attributes || {},
    meta: meta || {},
    innerHTML: innerHTML,
  };
}
Static helper to create a tag object to be get injected into the dom

@param {string} tagName
the name of the tag e.g. 'div'

@param {{[attributeName: string]: string|boolean|null|undefined}} [attributes]
tag attributes e.g. `{ 'class': 'example', disabled: true }`

@param {string} [innerHTML]

@param {{[attributeName: string]: string|boolean|null|undefined}} [meta]
meta information about the tag e.g. `{ 'plugin': 'html-webpack-plugin' }`

@returns {HtmlTagObject}