I have spent my last few days trying to work this pop(), but there is no combination, no order of calls, that will ever make it work. Pop() doesn't work with append_bbcode, it does work with manual bbcode, but it can't close push meta of all things. It can close meta opened by bbcode itself, like [meta] [/meta], but this doesn't work with pushing metadata other than String type. So there is no way of closing a tag of Node reference meta...