Skip to content
Snippets Groups Projects
Commit cb25546b authored by Jared Hancock's avatar Jared Hancock
Browse files

Make email template content valid HTML

Wrap the upgraded email template data in an HTML <div> element so that the
final content is valid HTML. This is useful for the mailer to identify the
message content as HTML
parent 7faf3026
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,9 @@ UPDATE `%TABLE_PREFIX%email_template`
'\n', '<br/>'),
'&', '&amp;');
UPDATE `%TABLE_PREFIX%email_template`
SET `body` = CONCAT('<div>', `body`, '</div>');
-- Migrate notes to HTML
UPDATE `%TABLE_PREFIX%api_key`
SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment