mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 12:32:42 +00:00
Catching a few more bugs
This commit is contained in:
@@ -63,7 +63,12 @@ function markdown (mode, input, env) {
|
||||
input = input.replace(/<!--[[\]]-->/g, '');
|
||||
}
|
||||
|
||||
return input ? markdownEngines[mode].render(input, env) : '';
|
||||
try {
|
||||
return input ? markdownEngines[mode].render(input, env) : '';
|
||||
} catch (e) {
|
||||
log(input);
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
function handlebars (input, env) {
|
||||
|
||||
Reference in New Issue
Block a user