Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 3.3.6
-
Fix Version/s: 4.4.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
Trying to change the text of a hyperlink in a message (add a new participant) is not possible via templates and word replacement fails because the html of the link is passed through urlencode() on its way to the DB, so it never matches the string from the relevant PHP file.
This patch alters the HTML quickforms package to add the new and old word replacement fields to the list of ones that should not be filtered to encode HTML characters.
Now, sorting the link out works. Although the text could have been changed with a wildcard replacement, the client wanted to remove that link altogether, as well as the preceding text, which meant matching the whole thing.