From: Aleksandr A. Z. <za...@tp...> - 2010-02-12 08:00:01
|
Hello There are bug with literal nodes, which contain multiline strings (eg. "\r\n"). The code in BaseWriterContext class (lines 391-394) does not works correctly. The string if (value.Contains("\\n")) value = value.Replace("\\n", "\\\\n"); should be if (value.Contains("\"")) value = value.Replace("\"", "\\\""); but I think that the more universal solution is value.Replace("\\", "\\\\"); С уважением, Зарипов Александр za...@tp... |