Skip to content

Commit

Permalink
Update markdown.ts (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
roimee6 authored Sep 4, 2024
1 parent e3e72ba commit 5581af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gramjs/extensions/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class MarkdownParser {
foundIndex - tempEntities[foundDelim].offset;
entities.push(tempEntities[foundDelim]);
}
message = message.replace(foundDelim, "");
message = message.toString().replace(foundDelim, "");
i = foundIndex;
}
return [message, entities];
Expand Down

0 comments on commit 5581af2

Please sign in to comment.