Skip to content

strong regex does not work correctly #25

@TheBlue-1

Description

@TheBlue-1

This library formats strong values wrong in a certain edge case:

In slack:
*a*a* => *a*a*
*a*a* *a* => *a*a* a

The output of the library:
*a*a* => a*a
*a*a* *a* => a*a a

Note that this behaviour is correct for italic:
In slack:
_a_a_ => a_a
The output of the library:
_a_a_ => a_a

It would be very nice if you could adjust the regex to cover that edge case 🙃

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