Profanity filter seems to "censor" code segments

Another Fen

Veteran
Veteran
Joined
Jan 23, 2013
Messages
552
Reaction score
265
First Language
German
Primarily Uses
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?
 

BreakerZero

Veteran
Veteran
Joined
Jul 8, 2018
Messages
739
Reaction score
298
First Language
English (USA)
Primarily Uses
RMMV
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.
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
2,617
Reaction score
3,791
First Language
English
Primarily Uses
RMMV
Ah damn, we recently updated the profanity filter. There might be some little issues like those.

@Enbara
 

Enbara

Admin
Admin
Joined
Feb 1, 2017
Messages
114
Reaction score
104
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.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

My new animated paths are beautiful, and look fantastic next to my improved lake/river maps. :LZSexcite:

My sister is a saint. Specifically Saint Peter. Because shes my best friend until other ppl are around then shes all "nope, dont know him, dont like him."
Making it a rule that I don't do any world building for my new game before the actual gameplay is concrete and working. I have 16 years of lore to work with anyway.

Forum statistics

Threads
95,699
Messages
931,141
Members
126,052
Latest member
toomasu
Top