Skip to content

Commit b25f721

Browse files
committed
fix: should add a newline character
1 parent 07e67f6 commit b25f721

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/action/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function craftExtraPhoto(pic: Picture) {
3030
const res = utils.paginate(pic.caption, 960, []);
3131

3232
if (res.end_idx < pic.caption.length) {
33-
caption += `${res.paginated_html}...\n`;
33+
caption += `${res.paginated_html}...`;
3434

3535
extra.reply_markup = {
3636
inline_keyboard: [[{
@@ -41,7 +41,7 @@ export function craftExtraPhoto(pic: Picture) {
4141
} else {
4242
caption += pic.caption;
4343
}
44-
caption += `\n${pic.credit}`;
44+
caption += `\n\n${pic.credit}`;
4545

4646
extra.caption = caption;
4747
return extra;

0 commit comments

Comments
 (0)