inkle / inkle/ink

Choice Label + Newline + Condition doesn't work

Open
#911 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

v1.2.0 made it possible to add a linebreak after the choice label, but that seems to break choice conditions (I think).

## Current Output
```ink
* (label)
{true} choice text
```
outputs
```
1: true choice text
```

## Expected Output
I think it should be
```
1: choice text
```
i.e. the same as if I'd written
```ink
* (label) {true} choice text
```

NB. Linebreaks seem to work between conditions, so

```ink
* (label) {true}
{true} choice text
```
gives the expected output above. I guess that's kind of a workaround, but it would be nice if that wasn't necessary.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.