1
I'm trying to make my customized text replacement in an external file so there is only need to edit 1 line of code, the include() statement in the list of $patterns/$replacements but can't seem to get it working.
"module.textsanitizer.php"
le="color: #000000"><?php $patterns[] = "/[u](.*)[/u]/sU"; $replacements[] = '<u>\1</u>'; $patterns[] = "/[d](.*)[/d]/sU"; $replacements[] = '<del>\1</del>'; include_once('custom_text_replacement.php'); ...
"custom_text_replacement.php"
<?php $patterns[] = "/bub/isU"; $replacements[] = 'yo[u]'; ?>
If I move the contents of custom_text_replacement into the include_once() line, it'll work fine.

my file was mis-spelled