add html escape replace variable option

This commit is contained in:
Pete Matsyburka
2024-03-12 23:47:58 +02:00
parent 704fbc2393
commit 849289287e
5 changed files with 30 additions and 20 deletions
@@ -1,5 +1,5 @@
<% if @email_config %>
<%= render 'custom_content', content: ReplaceEmailVariables.call(@email_config.value['body'], submitter: @submitter, sig: @sig) %>
<%= render 'custom_content', content: @email_config.value['body'], submitter: @submitter, sig: @sig %>
<% else %>
<p>Hi there,</p>
<p>Please check the copy of your "<%= @submitter.submission.template.name %>" submission in the email attachments.</p>