diff --git a/src/main/kotlin/ltd/guimc/plugin/quotly/QuotLyCommand.kt b/src/main/kotlin/ltd/guimc/plugin/quotly/QuotLyCommand.kt index 2d92d1e..2b30a26 100644 --- a/src/main/kotlin/ltd/guimc/plugin/quotly/QuotLyCommand.kt +++ b/src/main/kotlin/ltd/guimc/plugin/quotly/QuotLyCommand.kt @@ -84,7 +84,8 @@ object QuotLyCommand: SimpleCommand( " \"text\": \"${textMessage.replace("\\", "\\\\") .replace("\r", "\\r") .replace("\n", "\\n") - .replace("\t", "\\t")}\",\n" + + .replace("\t", "\\t") + .replace("\"", "\\\"")}\",\n" + " }\n" + " ]\n" + " }")