Fixed error with replacements by switching from preg_replace to str_replace in scanContent()
Tagging 2.1.1