codePreviews: guh

This commit is contained in:
Cynthia Foxwell 2025-03-21 18:37:22 -06:00
parent 7ef3c95533
commit 609a312c7c
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -65,7 +65,7 @@ async function processFile(link, originalLink, spoiler = false, linkFile = false
let entireFile = false; let entireFile = false;
if (lineStr) { if (lineStr) {
const [start, end] = lineStr.match(/(?<=L-)\d+/g); const [start, end] = lineStr.match(/(?<=[L-]{1,2})\d+/g);
if (!end) { if (!end) {
startLine = endLine = start; startLine = endLine = start;
} else { } else {