Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.2).
Change log:
Allow the hideUnviewable option to be passed into the string formatter as false when stripping BB code so that unviewable tags can be represented by their placeholder for profile posts and comments.