Added support for BBCode in document titles for local styles