diff --git a/broker.ts b/broker.ts index 9f51d3c..8d8049e 100644 --- a/broker.ts +++ b/broker.ts @@ -35,7 +35,7 @@ async function sendEmail(content: string) { const info = await transporter.sendMail({ from: '"The Oracle" ', to: "Christopher.Hase@telekom.com;test@mailhog.local", - subject: "Your Horoscope Is Ready", + subject: "Your New Horoscope Is Ready", text: content, html: html(content) }); @@ -134,8 +134,8 @@ function render(node: Node): string { case "Hexagram": //outputHTML = "

" + node.value + "

"; - node.value = node.value?.replace("", ""); //TODO: OK?? - outputHTML = "

" + node.value + "

"; //TODO: OK?? + //node.value = node.value?.replace("", ""); //TODO: OK?? + outputHTML = "

" + node.value + "

"; //TODO: OK?? outputHTML = outputHTML + render(node.child!);