Issue #2227531 by katbailey: should have replaceHtml instead of replaceText in personalize elements module