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

Single character default is not recognised #173

Open
jnsprnw opened this issue Mar 5, 2024 · 0 comments
Open

Single character default is not recognised #173

jnsprnw opened this issue Mar 5, 2024 · 0 comments

Comments

@jnsprnw
Copy link

jnsprnw commented Mar 5, 2024

Default values with only on character, for example a, are not recognised.

Example

Consider the following example:

as {{age; 8:an; 11:an; 18:an; default:a;}} {{age}}-year-old

This should result in:

as an 18-year-old
as an 8-year-old
as a 7-year-old

But instead, the last sentence renders to:

as a; 7-year-old

Workaround

It does work with a space after a:

as {{age; 8:an; 11:an; 18:an; default:a ;}} {{age}}-year-old

But I guess, that this is not how it is meant to be used.

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