You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Select expression breaks if you have dot character on the second line of any branch #342
Now, I'm guessing that this relates to the attributes feature, however, this shouldn't be a problem, because parser shouldn't expect attributes in the middle of select expression. I think it's a parser bug.
Activity
slavafomin commentedon Dec 23, 2021
Now, I'm guessing that this relates to the attributes feature, however, this shouldn't be a problem, because parser shouldn't expect attributes in the middle of select expression. I think it's a parser bug.
zbraniecki commentedon Dec 23, 2021
It is not. FTL syntax focuses on error recoverability from any syntactic error ensuring that the parser can find the start of the next entry.
In result a compromise had to be made for multi-line values - several characters have to be escaped - https://github.com/projectfluent/fluent/blob/master/spec/fluent.ebnf#L110
You need
{ "." }if you need.character at the beginning of an intended line.