handle errors when processing bbcode
Merge pull request #47 from eve-val/bbcode-robustness

handle errors when processing bbcode