Closed falves1 closed 3 years ago
Use {expression} in your html template.
{expression} -> writes result of expression
My eyes must be playing tricks with me, {expression} =={expression} Maybe the words need to be enclosed in backticks?
I'm sorry. The comment got messed up due to markdown.
{{expression}}, writes the result of expression - HTML escaped
{*expression*}, writes the result of expression
So you need to use {*expression*}
in your HTML template.
Thank you @kshitijmjoshi, feel like it is solved now. @falves1 please reopen if you have any further questions. Thank you. Closing it for now.
My message is a complete HTML table,
<table border=1 class="dataframe"><tr><th>Description</th><th>Day</th><th>Address</th><th>Units</th><th>Daily</th><th>Rate</th><th>Total</th><th>Billed</th><th>DBilled</th><th>TotalBilled</th><th>Credited</th><th>TotalCredited</th><th>Balance</th><th>Count</th><th>ASR</th><th>ACD</th></tr><tr><td>Billed</td><td>2021-03-09</td><td>8.19.245.4</td><td>409.50</td><td>804.00</td><td>0.00439</td><td>807.20</td><td>$1.80</td><td>$3.53</td><td>$3.54</td><td></td><td>$2.00</td><td>$-1.54</td><td>2536</td><td>38.96</td><td>24.87</td></tr></table>
I need to pass it in to the template as is, no changes, instead I get<table border=1 class="dataframe"><tr><th>Description</th><th>Day</th><th>Address</th><th>Units</th><th>Daily</th><th>Rate</th><th>Total</th><th>Billed</th><th>DBilled</th><th>TotalBilled</th><th>Credited</th><th>TotalCredited</th><th>Balance</th><th>Count</th><th>ASR</th><th>ACD</th></tr><tr><td>Billed</td><td>2021-03-09</td><td>8.19.245.4</td><td>409.50</td><td>804.00</td><td>0.00439</td><td>807.20</td><td>$1.80</td><td>$3.53</td><td>$3.54</td><td></td><td>$2.00</td><td>$-1.54</td><td>2536</td><td>38.96</td><td>24.87</td></tr></table>
I tried to use {-raw} but It never gets fixed, or I don't know to use it. How do I integrate a string into the template, verbatim? Is there any other way to do this?