From 0c32d0a763c487240cf3062c176fc1ca6e132ca1 Mon Sep 17 00:00:00 2001 From: Robert Tonsing Date: Tue, 7 Jan 2025 11:16:05 -0600 Subject: [PATCH] Remove space from 'alt=' tag value. --- bin/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/index.js b/bin/index.js index 7d7e1fc..1a23ef0 100755 --- a/bin/index.js +++ b/bin/index.js @@ -102,7 +102,7 @@ function writeMath(mathTxt, inLine) { // store svg in a file fs.writeFileSync(fileName, svgCode); - let alt = `alt=" "`; + let alt = `alt=""`; // if display mode mathTxt can include inline tags // replace by $ to avoid processing them later // use $$, $ has special meaning in replace()