wbb/WysiBB — pull request #42 by limpalex (2013-12-23 08:32:42+00:00)
Title: Added processor property to bb code options.

If present, processor method is called when converting bb to html. It may calculate additional properties. For example, [link={ID}]{SELTEXT}[/link] may be converted to {SELTEXT}, where URL property is somehow calculated (and cached if possible for performance reasons). Notice, that initial ID property should also be stored to perform transform back to bb code.
Processor code for this example:
processor: function(data) { data.link = '/link?id=' + data.id; }