Skip to content

Discord spoilers not bridged properly to Matrix #190

@0xDEADCADE

Description

@0xDEADCADE

On Discord, a spoiler can be created with two pipe characters | surrounding any text, like so: ||spoiler||. This bridges as a <span data-mx-spoiler> on the Matrix side. Discord allows there to be any number of spaces between the spoilered text and the pipe characters, the following will be spoilered on Discord: || spoiler ||, that includes spoilers that are just spaces || ||, but not newlines.

If a Discord spoiler contains a space between the text and the pipe characters, it does not get bridged as a spoiler to Matrix. || spoiler|| will work on Discord, but will appear as the text literal on Matrix.

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