diff options
| author | PvdBerg <[email protected]> | 2018-06-08 22:26:20 +0200 |
|---|---|---|
| committer | Ken Swenson <[email protected]> | 2018-11-06 20:37:17 -0500 |
| commit | 756e3f3e87bc676602e53008716c47ce65347ff7 (patch) | |
| tree | ee1f569fdc2d10fa47e4ee14174fb0881cf093d0 /src/utils | |
| parent | Fix push_codeblock_safe not adding a newline (diff) | |
| download | serenity-756e3f3e87bc676602e53008716c47ce65347ff7.tar.xz serenity-756e3f3e87bc676602e53008716c47ce65347ff7.zip | |
Add test and fix another newline difference
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/message_builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/message_builder.rs b/src/utils/message_builder.rs index eec70a2..f1c0f9c 100644 --- a/src/utils/message_builder.rs +++ b/src/utils/message_builder.rs @@ -507,7 +507,7 @@ impl MessageBuilder { c.inner = normalize(&c.inner).replace("```", " "); self.0.push_str(&c.to_string()); } - self.0.push_str("```"); + self.0.push_str("\n```"); self } |