mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Allow monospace block to end on ellipsis.
This commit is contained in:
@@ -31,8 +31,8 @@ QString ExpressionMailNameAtEnd() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString ExpressionSeparators(const QString &additional) {
|
QString ExpressionSeparators(const QString &additional) {
|
||||||
// UTF8 quotes
|
// UTF8 quotes and ellipsis
|
||||||
const auto quotes = QString::fromUtf8("\xC2\xAB\xC2\xBB\xE2\x80\x9C\xE2\x80\x9D\xE2\x80\x98\xE2\x80\x99");
|
const auto quotes = QString::fromUtf8("\xC2\xAB\xC2\xBB\xE2\x80\x9C\xE2\x80\x9D\xE2\x80\x98\xE2\x80\x99\xE2\x80\xA6");
|
||||||
return qsl("\\s\\.,:;<>|'\"\\[\\]\\{\\}\\~\\!\\?\\%\\^\\(\\)\\-\\+=\\x10") + quotes + additional;
|
return qsl("\\s\\.,:;<>|'\"\\[\\]\\{\\}\\~\\!\\?\\%\\^\\(\\)\\-\\+=\\x10") + quotes + additional;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user