aboutsummaryrefslogtreecommitdiff
path: root/gen.js
diff options
context:
space:
mode:
Diffstat (limited to 'gen.js')
-rwxr-xr-xgen.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/gen.js b/gen.js
index 8c88952..29eea34 100755
--- a/gen.js
+++ b/gen.js
@@ -195,10 +195,9 @@ db.dump().then(async (data) => {
}
const author = genAuthor(quote);
if (i === 0 || author !== genAuthor(data.quotes[i - 1])) {
- textex += `\\large{\\textbf{${author}:}}\\normalsize\\newline\n`;
+ textex += `\\quoteauthor{${author}}\n`;
}
- // textex += `\\quoteadd{${author}}{${sanitize(quote.quote)}}\n`;
- textex += `${quote.quote}\\newline\n`;
+ textex += `\\quoteadd{${sanitize(quote.quote)}}\n`;
i++;
}
// Lol