Converts all node creation to use the toNode() function. Issue is caused by top down parsing of bbob and lack of distinction between a bbcode tag and a html tag.
All tags should now use toNode() function, which will add a gen: true property that tags with html names ([div] in this case) can use to determine if parsing is needed.
Fixes issue spotted in #123
Converts all node creation to use the
toNode()
function. Issue is caused by top down parsing of bbob and lack of distinction between a bbcode tag and a html tag.All tags should now use
toNode()
function, which will add agen: true
property that tags with html names ([div]
in this case) can use to determine if parsing is needed.