Profanity filter seems to "censor" code segments

Just a small issue, but some expressions seem to get profanity filtered even when used in the context of a code block.

For example
b.result().isHit()
would turn into
Code:
b.result().isHit()


I'm not sure how many words are filtered this way (keywords like "class" seem to be fine) but since many scripts are still posted as plain text here I'm worried this might break one or two of them.

Would there be a way to either exclude code-tags from the profanity filter or make it so copying a censored text will copy the original instead?
It would probably have to be set in a site plugin or whatever is required for the software that powers the forums, and if the software is a commercial product it could even be encrypted making this next to impossible. (Yes, it's actually possible to encrypt website code... even php code can be encrypted!) Alternatively the system would have to be set to "whole word only" which is a rather common provision in find/replace to begin with.
Ah damn, we recently updated the profanity filter. There might be some little issues like those.

@Enbara
Ah 🙁
Yeah, we're still iterating on the best balance of naughty words vs false positives. I'll relax this one.

edit: done

Would there be a way to either exclude code-tags from the profanity filter or make it so copying a censored text will copy the original instead?
The first solution sounds like a plausible addon, but a little searching didn't turn anything up.
*Pushing this as the issue seems to have reappeared with the forum update*
Sorry, but thanks for your work on this. 🙂
@Enbara

Original thread: https://forums.rpgmakerweb.com/threads/profanity-filter-seems-to-censor-code-segments.118588/