Motivation / Problem
When the email goes out and I include some node fields in the message, any fields that are blank in the node do not display properly -- they show the actual replacement pattern, not blank text.
Proposed solution:
Add $option = ['sanitize' => FALSE, 'clear' => TRUE] parameter to the replace method.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2940507-5.patch | 865 bytes | pericxc |
| #5 | interdiff.txt | 837 bytes | pericxc |
Comments
Comment #2
pericxc commentedComment #3
pericxc commentedComment #4
jhedstromsanitizeis not a valid option for thereplace()method. This looks good if we just use theclearoption though.Comment #5
pericxc commentedComment #7
jhedstromAwesome, thanks!