mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
Merge topic 'vs-explicit-newline'
0bf4418017 VS: Encode newlines in XML attributes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3065
This commit is contained in:
@@ -35,6 +35,7 @@ static std::string cmVS10EscapeAttr(std::string arg)
|
||||
cmSystemTools::ReplaceString(arg, "<", "<");
|
||||
cmSystemTools::ReplaceString(arg, ">", ">");
|
||||
cmSystemTools::ReplaceString(arg, "\"", """);
|
||||
cmSystemTools::ReplaceString(arg, "\n", " ");
|
||||
return arg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user