From f69f73fcda845b203e2385f395fa4b2ec8c0715a Mon Sep 17 00:00:00 2001 From: Sean Robertson Date: Fri, 1 Oct 2021 13:03:08 +1300 Subject: [PATCH] Revert "Update to use `dedent` in the same manner as other snippets" This reverts commit b24c3527cabbc3f0de6792894bfaa9e2c977c3b8. --- client/homebrew/editor/snippetbar/snippets/snippets.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/homebrew/editor/snippetbar/snippets/snippets.js b/client/homebrew/editor/snippetbar/snippets/snippets.js index d2bcc656f..b7bfaf07d 100644 --- a/client/homebrew/editor/snippetbar/snippets/snippets.js +++ b/client/homebrew/editor/snippetbar/snippets/snippets.js @@ -53,10 +53,10 @@ module.exports = [ name : 'QR Code', icon : 'fas fa-qrcode', gen : (brew)=>{ - return dedent`![] - (https://api.qrserver.com/v1/create-qr-code/?data= - https://homebrewery.naturalcrit.com${brew.shareId ? `/share/${brew.shareId}` : ''} - &size=100x100) {width:100px;mix-blend-mode:multiply}`; + return `![]` + + `(https://api.qrserver.com/v1/create-qr-code/?data=` + + `https://homebrewery.naturalcrit.com` + `${brew.shareId ? `/share/${brew.shareId}` : ''}` + + `&size=100x100) {width:100px;mix-blend-mode:multiply}`; } }, {