handle errors when processing bbcode
Merge branch 'bbcode-robustness' into deploy