From ed544bea7a1da685960c139dd900e8bbf0552c68 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 14 Jun 2026 13:31:59 +0800 Subject: [PATCH] fix: duplicate _a function removed, markdown rendering restored --- app.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app.py b/app.py index b6bc495..4965349 100644 --- a/app.py +++ b/app.py @@ -275,10 +275,6 @@ function _md(s){ s=s.replace(/\n/g,'
'); return '

'+s+'

'; } -function _a(r,t){var d=document.createElement("div");d.className="msg "+r; - var b=document.createElement("div");b.className="bb";b.textContent=t; - d.appendChild(b);document.getElementById("cht").appendChild(d); - document.getElementById("cht").scrollTop=document.getElementById("cht").scrollHeight;} function _e(s){return s.replace(/&/g,"&").replace(//g,">");} function _lc(){var x=new XMLHttpRequest();x.open("GET","/convs",true); x.onload=function(){if(x.status!=200)return;var d=JSON.parse(x.responseText),h="";