mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
[AI] Fix xss in model name
This commit is contained in:
@ -84,6 +84,8 @@ body {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
-webkit-line-clamp: 3;
|
||||
word-wrap: break-word;
|
||||
max-width: 150px;
|
||||
}
|
||||
|
||||
/* #actions-list .select2-selection{
|
||||
|
||||
@ -146,7 +146,9 @@ function updatedComboBoxes() {
|
||||
selectEl.select2({
|
||||
data: options,
|
||||
templateResult: function(option) {
|
||||
return $('<div class="ellipsis-content">' + option.text + '</div>');
|
||||
var div = $('<div class="ellipsis-content"></div>');
|
||||
div[0].innerText = option.text;
|
||||
return div;
|
||||
},
|
||||
language: {
|
||||
noResults: function() {
|
||||
|
||||
Reference in New Issue
Block a user