FIXING! Handle single node htmlTag injection
FIXING! Handle single node htmlTag injection

Chain iterateNodes, it determines how to handle a text node.
multipleHandler - an array of text nodes
singleHandler - single text node

Implement singleHandler.
Checks how many brackets within single element:
via cloneNode for many
via direct replacement for single

Rename injectTag to genTag.
Modify functionality to suit singleHandler needs:
Add parameter - single, defaults to false
Early return statement for single brackets
innerHTML replacement for multiple brackets
returns undefined to indicate it is not used for multiple
Rename el to parent for clarity

mrv1k/bracketless,mrv1k/bracketless