Removed /e modifier for preg_replace_callback() in template parsing since /e is deprecated