diff --git a/scripts/buffer_writer.js b/scripts/buffer_writer.js index 7486bb7..582fde0 100755 --- a/scripts/buffer_writer.js +++ b/scripts/buffer_writer.js @@ -47,8 +47,8 @@ const entryArray = bibtexParse(rawBibtex) // eslint-disable-line no-undef // autofile const safeTitle = title .slice(0, maxTitleFileNameLength) - .replace(/[:/\\]/g, "-") - .replace(/["'´]/g, ""); + .replace(/[;:/\\]/g, "-") + .replace(/["'´,]/g, ""); const autoFileName = `${citekey}_${safeTitle}`; // URL