${brewText.replaceAll('&', '&').replaceAll('<','<').replaceAll('>', '>')}`;
+ return `${brewText.replaceAll('&', '&').replaceAll('<', '<').replaceAll('>', '>')}`;
} else if(type == 'download') {
return brewText;
} else {
console.log('Unhandled source share type');
return;
}
-}
+};
//Source page
app.get('/source/:id', (req, res)=>{