Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

newLineTrimming(false) not working #652

Open
sysmat opened this issue Jun 5, 2023 · 1 comment
Open

newLineTrimming(false) not working #652

sysmat opened this issue Jun 5, 2023 · 1 comment

Comments

@sysmat
Copy link

sysmat commented Jun 5, 2023

  • pebble:3.2.1
  • template
Hello,

{%- if oldMail.alias !=  changedMail.alias and changedMail.expire is null -%}
elektronski naslov {{oldMail.alias}}, ki je vezan na račun z uporabniškim imenom {{username}}, je spremenjen v {{changedMail.alias}}.
  • result: after Pozdravljeni, should be 1 new line as in template
Pozdravljeni,
elektronski naslov [email protected], ki je vezan na ra?un z uporabniškim imenom jozsu, je spremenjen v [email protected].
@sysmat
Copy link
Author

sysmat commented Jun 5, 2023

  • the ugly hack
Hello,
{% if 1 == 1 %}
{%- endif -%}
{%- if oldMail.alias !=  changedMail.alias and changedMail.expire is null -%}
elektronski naslov {{oldMail.alias}}, ki je vezan na račun z uporabniškim imenom {{username}}, je spremenjen v {{changedMail.alias}}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant