Skip to content

Commit

Permalink
xfd: add a line break to the end of some entries
Browse files Browse the repository at this point in the history
RFD, CFD, and TFD entries added to daily log pages by Twinkle currently have no line break between the entry being added and the next entry. They touch each other.

This patch fixes that. After this patch, there will be a line break between each entry.
  • Loading branch information
NovemLinguae committed Dec 4, 2023
1 parent 3831de5 commit a4f5773
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/twinklexfd.js
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,10 @@ Twinkle.xfd.callbacks = {

text += '}}';

if (venue === 'rfd' || venue === 'tfd' || venue === 'cfd') {
text += '\n';
}

// Don't delsort if delsortCats is undefined (TFD, FFD, etc.)
// Don't delsort if delsortCats is an empty array (AFD where user chose no categories)
if (Array.isArray(params.delsortCats) && params.delsortCats.length) {
Expand Down

0 comments on commit a4f5773

Please sign in to comment.