Validate tag names
BobVarioa opened this issue ยท 1 comments
Problem
Currently tag names aren't validated in BlockBuilder#tag
or BlockBuilder#tagBlockAndItem
and possibly in other places. While this itself is not a huge issue, this allows faulty behavior to happen when undefined
(or a similarly stringified strange value) is passed in.
Requested Solution
Either a regex check or some other string validation method that raises an error in the logs, besides a generic stack trace.