Skip to content

Support short multiline messages#13797

Open
CoconutMacaroon wants to merge 1 commit intoCharcoal-SE:masterfrom
CoconutMacaroon:fix-short-multiline
Open

Support short multiline messages#13797
CoconutMacaroon wants to merge 1 commit intoCharcoal-SE:masterfrom
CoconutMacaroon:fix-short-multiline

Conversation

@CoconutMacaroon
Copy link
Copy Markdown
Contributor

This PR fixes #12803 by supporting short multiline messages in SD. For example, it makes !!/location<NEWLINE>Hello work.

Here's a before and after.

The issue was short multiline messages start with <div class='full'>, which SD doesn't know to remove. As a result, it doesn't see the message as starting with either !!/ or sdc and ignores the messages. There's multiple ways to handle the ending </div> (see this Stack Overflow question). I opted to use a bool variable, but I'm happy to go with something else too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Short multiline chat messages are ignored by SD

1 participant