Add filterContent method to filter the placeholders within the content