Skip to content

Bug in styling combination bold and italic #879

Description

@danschne

The problem

I tested a few styling combinations and noticed that bold and italic currently does not work - without the documentation here or the underlying Signal CLI saying anything about restrictions on styling combinations (which there probably aren't, because I can combine any styles in the Signal app itself).

When looking at the code and doing a preliminary AI analysis it appears that *** is a combination that textstyleparser currently interpretes the wrong way (the result has no styling at all). There is no test case for that either.

I am not sure if an implementation that can read this properly would bring up other parsing questions with it, but one could peek at https://github.com/commonmark/commonmark-java for inspiration since they have a working solution for interpreting these kinds of cases.

Are you using the latest released version?

  • Yes

Have you read the troubleshooting page?

  • Yes

What type of installation are you running?

signal-cli-rest-api Docker Container

In which mode are you using the docker container?

Normal Mode

What's the architecture of your host system?

x86-64

Additional information

No response

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