Either I am missing something or the context provided to the BB code subsytem is somewhat limited:
- The Ruleset (\XF\BbCode\RuleSet) does get a "context" (post, conversation_message, etc.), but no information about the user or post
- The Renderer (\XF\BbCode\Renderer\Html) does get the user as an option, but no information about what is actually being rendered
It also does have access to the RuleSet, but not to the "context" within it as this is protected and there is no getter (of course I could add one, but that doesn't make much sense to me as other addons needing the same information would have to do the same).
Last edited: