From 3fe6e6ca23e95c6d04b24d2d7f94de267ac69be6 Mon Sep 17 00:00:00 2001 From: Shivam7-1 <55046031+Shivam7-1@users.noreply.github.com> Date: Thu, 9 Jan 2025 08:20:48 +0530 Subject: [PATCH] Update html.go --- src/cmd/compile/internal/ssa/html.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/compile/internal/ssa/html.go b/src/cmd/compile/internal/ssa/html.go index 1d6b47da6d4650..cf98cca347294f 100644 --- a/src/cmd/compile/internal/ssa/html.go +++ b/src/cmd/compile/internal/ssa/html.go @@ -628,10 +628,10 @@ function hideBlock(el) { var e = es[0]; if (e.style.display === 'block' || e.style.display === '') { e.style.display = 'none'; - el.innerHTML = '+'; + el.textContent = '+'; } else { e.style.display = 'block'; - el.innerHTML = '-'; + el.textContent = '-'; } }