summaryrefslogtreecommitdiff
path: root/docs/samples/save_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'docs/samples/save_options.cpp')
-rw-r--r--docs/samples/save_options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/samples/save_options.cpp b/docs/samples/save_options.cpp
index 82abdcd..e196946 100644
--- a/docs/samples/save_options.cpp
+++ b/docs/samples/save_options.cpp
@@ -4,7 +4,7 @@
int main()
{
- //[code_save_options
+ // tag::code[]
// get a test document
pugi::xml_document doc;
doc.load_string("<foo bar='baz'><call>hey</call></foo>");
@@ -42,7 +42,7 @@ int main()
// <foo bar="baz"><call>hey</call></foo>
doc.save(std::cout, "\t", pugi::format_raw | pugi::format_no_declaration);
std::cout << std::endl;
- //]
+ // end::code[]
}
// vim:et