A simple and extensible BBCode parser.