mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-08 12:21:17 +00:00
Fixed double quote escapes (e.g., \n is now that instead of \x0a)
This commit is contained in:
@@ -4,10 +4,7 @@
|
||||
int main()
|
||||
{
|
||||
YAML::Emitter out;
|
||||
out << YAML::Flow;
|
||||
out << YAML::BeginSeq;
|
||||
out << "a" << "b";
|
||||
out << YAML::EndSeq;
|
||||
out << YAML::DoubleQuoted << "Hello, World!\n";
|
||||
|
||||
std::cout << out.c_str() << "\n";
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user