Foundation-emails: Colon in subject message

Created on 2 Mar 2017  路  3Comments  路  Source: foundation/foundation-emails

When we add a colon (:) in the subject message. It produces an error.

How can we reproduce this bug?

For e.g. subject: My: First Subject

I also tried it with an escape character subject: My/: First Subject but it still produces the error

{ YAMLException: incomplete explicit mapping pair; a key node is missed at line 1, column 20: subject: My/:

What did you expect to happen?

It should work with the escape character. Though it was working when it was subject: My :\ First Subject

Most helpful comment

@rockse it's not a problem. For example I use this in one of my clients projects.

pre_header: "A new {{{fields.job_title_dirty}}} opening is available."

All 3 comments

@rockse put it in quotes and it will work as expected. It's yaml syntax so that's normal.

subject: "My: First Subject"

@DerekBess If we have {{someVar}} in subject like subject: My: {{someVar}}, then?

@rockse it's not a problem. For example I use this in one of my clients projects.

pre_header: "A new {{{fields.job_title_dirty}}} opening is available."

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arthurpf picture arthurpf  路  6Comments

AmeliePoulain92 picture AmeliePoulain92  路  5Comments

joshvito picture joshvito  路  5Comments

andreimoment picture andreimoment  路  4Comments

frecklebit picture frecklebit  路  5Comments