lims_email: also consider HTML tags for sample list

This commit is contained in:
Adrián Bernardi 2021-10-19 09:38:57 -03:00
parent 0bb5df8edf
commit 2c8e1093fc

View file

@ -540,6 +540,7 @@ class SendResultsReport(Wizard):
body = str(config.mail_ack_report_body) body = str(config.mail_ack_report_body)
body = body.replace('<SAMPLES>', '\n'.join(sample_list)) body = body.replace('<SAMPLES>', '\n'.join(sample_list))
body = body.replace('&lt;SAMPLES&gt;', '\n'.join(sample_list))
return subject, body return subject, body
def _get_sample_list(self, reports, language): def _get_sample_list(self, reports, language):