From 696ea1b371c364c5bc5da2f6572215c034ac5470 Mon Sep 17 00:00:00 2001 From: "Pantera (Mad_Daniel)" <89838384+Pantera07@users.noreply.github.com> Date: Tue, 19 Dec 2023 04:24:13 +0900 Subject: [PATCH] Fix 5 backticks --- common/src/main/java/me/scarsz/jdaappender/LogItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/me/scarsz/jdaappender/LogItem.java b/common/src/main/java/me/scarsz/jdaappender/LogItem.java index 3559929..bee50f2 100644 --- a/common/src/main/java/me/scarsz/jdaappender/LogItem.java +++ b/common/src/main/java/me/scarsz/jdaappender/LogItem.java @@ -50,7 +50,7 @@ protected String format(@NotNull HandlerConfig config) { StringBuilder builder = new StringBuilder(); if (config.getPrefixer() != null) builder.append(config.getPrefixer().apply(this)); - if (message != null) builder.append(config.isUseCodeBlocks() ? message.replace("```", "`\u200B`\u200B`") : handler.escapeMarkdown(message)); + if (message != null) builder.append(config.isUseCodeBlocks() ? message.replace("```", "`\u200B`\u200B`\u200B") : handler.escapeMarkdown(message)); if (config.getSuffixer() != null) builder.append(config.getSuffixer().apply(this)); if (throwable != null) { try (StringWriter stringWriter = new StringWriter()) {