Skip to content

Error when concatenating unstyled unicode symbol #90

@hexaeder

Description

@hexaeder
julia> using StyledStrings
julia> "τ" * styled"{blue:blue}" # errors
"Error showing value of type Base.AnnotatedString{String}:
ERROR: StringIndexError: invalid index [2], valid nearby indices [1]=>'τ', [3]=>'b'

when explicitly giving default style it works

styled"τ" * styled"{blue:blue}" # no style errors
styled"{default:τ}"*styled"{blue:blue}" # explicit default style works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions