Commit 591fab8a authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'vs-explicit-newline'

0bf44180 VS: Encode newlines in XML attributes
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3065
parents 8f05be99 0bf44180
Pipeline #131684 passed with stage
in 0 seconds
......@@ -35,6 +35,7 @@ static std::string cmVS10EscapeAttr(std::string arg)
cmSystemTools::ReplaceString(arg, "<", "&lt;");
cmSystemTools::ReplaceString(arg, ">", "&gt;");
cmSystemTools::ReplaceString(arg, "\"", "&quot;");
cmSystemTools::ReplaceString(arg, "\n", "&#10;");
return arg;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment