From 15ea2325da2e8221afe12d07d4cd39c6914c7d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Tue, 23 Jun 2026 18:01:46 +0400 Subject: [PATCH] =?UTF-8?q?v1.0.161:=20fix=20app.js=20=E2=80=94=20remove?= =?UTF-8?q?=20HTML=20tags,=20parseInfo=20lowercase=20keys?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/app.js | 17 +++-------------- index.cfm | 2 +- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/deploy/app.js b/deploy/app.js index a494b90..5d60219 100644 --- a/deploy/app.js +++ b/deploy/app.js @@ -480,19 +480,8 @@ async function showText(i) { rightHtml += '
Изменён' + formatDate(f.lastModified) + '
'; if (f.parseInfo) { var d = f.parseInfo; - rightHtml += '
Элементов' + (d.ELEMENT_COUNT||0) + '
'; - rightHtml += '
Параграфов' + (d.PARAGRAPHS||0) + '
'; - rightHtml += '
Таблиц' + (d.TABLES||0) + '
'; - rightHtml += '
Строк таблиц' + (d.TABLE_ROWS||0) + '
'; - if (d.PAGES) rightHtml += '
Страниц' + d.PAGES + '
'; - if (d.PARSE_TIME_MS) { - rightHtml += '
Время парсинга' + (d.PARSE_TIME_MS > 1000 ? (d.PARSE_TIME_MS/1000).toFixed(1) + ' с' : d.PARSE_TIME_MS + ' мс') + '
'; - } - if (d.TEXT_LENGTH) rightHtml += '
Символов' + d.TEXT_LENGTH.toLocaleString() + '
'; - if (d.ERRORS && d.ERRORS.length > 0) { - rightHtml += '
Ошибки:
'; - rightHtml += '
' + d.ERRORS.join('\n') + '
'; - } + rightHtml += '
Элементов' + (d.element_count||0) + '
'; + if (d.error) rightHtml += '
' + d.error + '
'; } rightHtml += '
Все элементы:
'; rightHtml += '
' + textify + '
'; @@ -641,4 +630,4 @@ document.getElementById('promptTabExtract').addEventListener('click', function() document.getElementById('promptTabDiff').addEventListener('click', function() { openPromptModal('diff'); }); document.getElementById('promptBtnExtract').addEventListener('click', function() { openPromptModal('extract'); }); document.getElementById('promptBtnDiff').addEventListener('click', function() { openPromptModal('diff'); }); - +lucide.createIcons(); diff --git a/index.cfm b/index.cfm index e3cdf28..7462670 100644 --- a/index.cfm +++ b/index.cfm @@ -75,7 +75,7 @@
Nubes - Сверка договоров — LLM AI-driven Event Sourcing v1.0.160 — Lucee + Сверка договоров — LLM AI-driven Event Sourcing v1.0.161 — Lucee