Fixed Censor breaks/stops bbcode from working in signatures

Mouth

Well-known member
Affected version
2.2.3 P1
If using Censoring ( /admin.php?options/groups/censoringOptions/ ) to replace words, and using the same word as a core bbcode it breaks/stops the bbcode from working.

My site uses Censor to replace some incorrectly spelt words to their correct spelling, for example tire -> tyre and center -> centre
Screen Shot 2021-03-05 at 11.13.03.png

In this case, the use of center in the censor then breaks/stops the bbcode from working.
 
That shouldn't, and doesn't appear to be the case in my testing. BB code is parsed and rendered before censoring takes place.

I have the same censoring option set up:

1614903765970.png


I have a post containing the following:

Code:
[CENTER]center text[/CENTER]
Not center text.

It renders correctly, the text is still centred and the replacement of the words works as expected:

1614904006827.png
 
That shouldn't, and doesn't appear to be the case in my testing. BB code is parsed and rendered before censoring takes place.
You're right, and I'm right too, I should have been more thorough in my testing.
Have updated the thread title, as it impacts on signatures ...

Screen Shot 2021-03-05 at 12.04.22.webp
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.4).

Change log:
Ensure that about and signature are not censored before rendering as BB code.
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom