mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
fixed newline posting
This commit is contained in:
parent
b8c87563e9
commit
c580c57e72
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export class Template<
|
|||
* Themes the template with values
|
||||
*/
|
||||
public theme = (values: V) => {
|
||||
return hb.compile(this.template)(values).replace(/\n/g, "\n\n");
|
||||
return hb.compile(this.template)(values).replace(/\n+/g, "\n\n");
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue