0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Revert "Update to use dedent in the same manner as other snippets"

This reverts commit b24c3527ca.
This commit is contained in:
Sean Robertson
2021-10-01 13:03:08 +13:00
parent b24c3527ca
commit f69f73fcda

View File

@@ -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}`;
}
},
{