Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support short multiline messages #13797

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CoconutMacaroon
Copy link
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