un-escape \n for string configs. (#5042)
Currently it escapes them to a literal text, making multi line messages impossible.
This commit is contained in:
committed by
GitHub
parent
1bd4c96ee8
commit
6a8127e7cd
@@ -554,7 +554,7 @@ public class ServerControl implements ApplicationListener{
|
||||
return;
|
||||
}
|
||||
}else if(c.isString()){
|
||||
c.set(arg[1]);
|
||||
c.set(arg[1].replace("\\n", "\n"));
|
||||
}
|
||||
|
||||
info("@ set to @.", c.name(), c.get());
|
||||
|
||||
Reference in New Issue
Block a user