Good Day,
{{#newline}}
The following asset has been retired by {{Actor}}:
{{#newline}}
{{AssetNumber}}: {{AssetDescription}}
Date retirement: {{DateRetired:dd.MM.yyyy}}
{{#newline}}
Comment: {{Comment}}
{{#newline}}
{{#newline}}
Best Regards
{{#newline}}
Team Finances
{{#newline}}
{{#newline}}
Link: {{SystemUrl}}
When my ASP.NET Core 7.0 Web API (hosted in Azure App Service) renders this into an e-mail, I get this output:
Good Day,
The following asset has been retired by Scheuner Marc (snm2):
1900007.0: HKB: Swisson sinus Dimmer
Date retirement: 31.05.2023 22:00:00
Comment: (some witty informational comment here)
Best Regards
Team Finances
Link: https://investa-dev.bfh.ch
It appears as if rendering the mustache-sharp template duplicates each and every single {{#newline}} placeholder, and returns two empty/newlines for each placeholder.
Is there anything I can do to stop this? I'd really like the tool to render the template as defined - and not add extra empty lines at random ...
I have this template:
When my ASP.NET Core 7.0 Web API (hosted in Azure App Service) renders this into an e-mail, I get this output:
It appears as if rendering the mustache-sharp template duplicates each and every single
{{#newline}}
placeholder, and returns two empty/newlines for each placeholder.Is there anything I can do to stop this? I'd really like the tool to render the template as defined - and not add extra empty lines at random ...