This seems to be working fine for me... but has an unfortunate side effect. With it on, the BBcode list available to users here:
http://www.myforumname.com/forums/misc.php?do=bbcode
(vb.org's page here:
https://vborg.vbsupport.ru/misc.php?do=bbcode)
...doesn't show the "example output" properly. None of the BBcodes listed show the examples.

With this hack disabled, the examples show properly.
(It also displays the "restricted" BBcodes. I wish it would only show the codes that the user's group is allowed.)
Any workaround or fix for this?