safe
This commit is contained in:
parent
a613d13650
commit
229401a9c3
@ -125,7 +125,7 @@ function truncateText(text, wordLimit) {
|
||||
cardTitle.style.textUnderlineOffset = '5px'
|
||||
// Создание параграфа с текстом
|
||||
const cardText = document.createElement('p');
|
||||
cardText.textContent = truncateText(project.description, 20);
|
||||
cardText.innerHTML = truncateText(project.description, 20);
|
||||
cardText.style.fontSize = '1.3rem'
|
||||
|
||||
// Вложение элементов в соответствующие контейнеры
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user