Skip to content

Single character default is not recognised #173

Open
@jnsprnw

Description

@jnsprnw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions