Replaced the default [spoiler] BBCode to avoid using dynamic content in a JS context
PHP renderer: don't leave the last output in the serialization
Slightly improved TemplateOptimizer::minifyXPath()
Fixed typo
Fixed the order of "use" declarations. No functional change intended
Removed callback-based templates, replaced with plugin method finalize()
Removed media BBCodes from the bundled repository as they've been replaced with the MediaEmbed plugin
PHP Renderer: added missing test
Refactored template normalization to make it configurable