From 926d76de07e86369cab6dbae72b47c8843a075fb Mon Sep 17 00:00:00 2001 From: Baltazar Gomez Date: Tue, 10 Aug 2021 12:22:21 -0500 Subject: [PATCH] fix lint: operator '=' must be spaced --- web/src/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/html.js b/web/src/html.js index 9521602e5..7a56d1252 100644 --- a/web/src/html.js +++ b/web/src/html.js @@ -41,7 +41,7 @@ function insertToHead(fullHtml, htmlToInsert) { } } -function truncateDescription(description, maxChars=200) { +function truncateDescription(description, maxChars = 200) { // Get list of single-codepoint strings const chars = [...description]; // Use slice array instead of substring to prevent breaking emojis