[cli-repl] More accurate line breaks handling
This commit is contained in:
committed by
Pavel V. Talanov
parent
18304c7d7b
commit
cc2e320228
@@ -50,7 +50,7 @@ public class KotlinConsoleExecutor(
|
||||
val xmlRes = "$XML_PREAMBLE" +
|
||||
"<input>" +
|
||||
"${StringUtil.escapeXml(
|
||||
StringUtil.replace("$command\n", SOURCE_CHARS, XML_REPLACEMENTS)
|
||||
StringUtil.replace(command, SOURCE_CHARS, XML_REPLACEMENTS)
|
||||
)}" +
|
||||
"</input>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user