Skip to content

Missing whitespace in choice text #130

@willvale

Description

@willvale

Whitespace gets elided when a choice runs on into story text. For example:

+ Look[ around]ing around the saloon, you don't find much.->DONE

gives the incorrect choice

Lookaround

and the correct output line

Looking around the saloon, you don't find much.

I did debug this a bit, from memory the leading space of ^ around is removed by clean_string in basic_stream::get_alloc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions