mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixed unselectable quotes
This commit is contained in:
@ -924,7 +924,7 @@ function messageFormating(mes, ch_name, isSystem, forceAvatar) {
|
|||||||
} else if (!isSystem) {
|
} else if (!isSystem) {
|
||||||
mes = mes.replace(/```[\s\S]*?```|``[\s\S]*?``|`[\s\S]*?`|(\".+?\")/gm, function (match, p1) {
|
mes = mes.replace(/```[\s\S]*?```|``[\s\S]*?``|`[\s\S]*?`|(\".+?\")/gm, function (match, p1) {
|
||||||
if (p1) {
|
if (p1) {
|
||||||
return "<q>" + p1.replace(/\"/g, "") + "</q>";
|
return '<q>"' + p1.replace(/\"/g, "") + '"</q>';
|
||||||
} else {
|
} else {
|
||||||
return match;
|
return match;
|
||||||
}
|
}
|
||||||
|
@ -458,6 +458,12 @@ code {
|
|||||||
color: var(--SmartThemeBodyColor);
|
color: var(--SmartThemeBodyColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mes q:before,
|
||||||
|
.mes q:after {
|
||||||
|
content: '';
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.last_mes {
|
.last_mes {
|
||||||
grid-template-columns: [checkbox] fit-content(60px) [avatar-leftswipe] 50px [name-mestext] auto [edit-rightswipe] 30px !important;
|
grid-template-columns: [checkbox] fit-content(60px) [avatar-leftswipe] 50px [name-mestext] auto [edit-rightswipe] 30px !important;
|
||||||
grid-template-rows: [avatar-NameMesText-edit] 50px [swipes] auto;
|
grid-template-rows: [avatar-NameMesText-edit] 50px [swipes] auto;
|
||||||
|
Reference in New Issue
Block a user