0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-20 16:12:40 +00:00

Merge branch 'master' into localSnippetEditor

This commit is contained in:
David Bolack
2025-02-04 21:07:02 -06:00
12 changed files with 302 additions and 170 deletions

View File

@@ -3,8 +3,8 @@ const dedent = require('dedent-tabs').default;
const loginUrl = 'https://www.naturalcrit.com/login';
// Prevent parsing text (e.g. document titles) as markdown
const escape = (text) => {
return text.split('').map(char => `&#${char.charCodeAt(0)};`).join('');
const escape = (text = '')=>{
return text.split('').map((char)=>`&#${char.charCodeAt(0)};`).join('');
};
//001-050 : Brew errors