Skip to content

Commit

Permalink
copy comments to talk page: add line breaks before heading (#334)
Browse files Browse the repository at this point in the history
Fixes #333
  • Loading branch information
NovemLinguae authored Apr 12, 2024
1 parent 797075e commit f77d29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/submissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2337,7 +2337,7 @@
}

if ( comments && comments.length > 0 ) {
talkText += '== Comments left by AfC reviewers ==\n' + comments.join( '\n\n' );
talkText = talkText.trim() + '\n\n== Comments left by AfC reviewers ==\n' + comments.join( '\n\n' );
}

talkPage.edit( {
Expand Down

0 comments on commit f77d29f

Please sign in to comment.