Skip to content

fix: Links in spoilers & multi-line spoilers#1056

Open
Pecacheu wants to merge 2 commits intostoatchat:mainfrom
Pecacheu:no-spoilers-allowed
Open

fix: Links in spoilers & multi-line spoilers#1056
Pecacheu wants to merge 2 commits intostoatchat:mainfrom
Pecacheu:no-spoilers-allowed

Conversation

@Pecacheu
Copy link
Copy Markdown
Contributor

Fixes #790, as well as a related bug where links just straight up break if a spoiler ends with one, because || is considered part of the link, and fixes multi-line spoilers too, which would render correctly in the text editor but then break upon being sent.

Lastly, I changed the colors to some more sensible choices since they are extremely difficult to see. I went with color-inverse-on-surface and on-secondary-fixed-variant, but welcome to feedback on those choices. That can be moved to it's own PR if requested.

Old:

New:

Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
…ering text

Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
@Pecacheu Pecacheu requested review from a team as code owners March 24, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Links appear normal when spoilered

1 participant