Skip to content

Various Issues in bracketMail parameter in %to% / %from% etc. #186

@RealRaven2000

Description

@RealRaven2000

Improvements and Fixes around the bracketMail formatting parameter that can be used with address fields.

bracketMail (without parentheses) should return the mail enclosed by angle brackets, instead it silently drops the parameter:
%to(name,bracketMail)%

  • this generates:
    Axel

  • expected output:
    Axel <axel@gmail.com>

When using bracketMail with delimiters such as bracketMail(;) the delimiters do not get reset and are applied to all following formatting parts. Example:
%to(bracketMail(~;~),name)%

  • this generates:
    ~axel@gmail.com~ ~Axel~

  • expected output:
    ~axel@gmail.com~ Axel

In "late resolved" variables (interactive fields inserted when you write a new email) angle brackets < and > are double encoded which ends up looking like this when you click a field to update:
%from(name,bracketMail)%

  • this generates (visible in composer):
    Axel &lt;axel@gmail.com&gt;

  • expected output (visible in composer):
    Axel <axel@gmail.com>

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions