fix: use correct whitespaces in responses within notification emails (#842)

This commit is contained in:
Dhruwang Jariwala
2023-09-21 23:36:20 +05:30
committed by GitHub
parent 04678d6e50
commit 9b883c103e
+1 -1
View File
@@ -160,7 +160,7 @@ export const sendResponseFinishedEmail = async (
question.answer &&
`<div style="margin-top:1em;">
<p style="margin:0px;">${question.question}</p>
<p style="font-weight: 500; margin:0px;">${question.answer}</p>
<p style="font-weight: 500; margin:0px; white-space:pre-wrap">${question.answer}</p>
</div>`
)
.join("")}