Improved the placeholder replace functionality when the same placeholder is used more than once in the template