hftlclub / cis

CIS Club Information System
4 stars 0 forks source link

[Email] replace multiple occurences of placeholders #89

Closed fmalcher closed 8 years ago

fmalcher commented 8 years ago

modules/smtp.js

At the moment, only the first occurence of a placeholder string is being replaced. Change this in order to replace all mentions of a placeholder.

https://stackoverflow.com/questions/1144783/replacing-all-occurrences-of-a-string-in-javascript