summaryrefslogtreecommitdiff
path: root/src/annotate.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-09 03:42:06 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-09 03:42:35 -0500
commit6cdb79e2a611d99fa6e13dd224a92dc8badaf2ac (patch)
tree967464fc8bda9543a108d83d3fc96ecdffb4e04c /src/annotate.h
parent2c80227339538154ad0869e746f52db805325589 (diff)
downloadfork-ledger-6cdb79e2a611d99fa6e13dd224a92dc8badaf2ac.tar.gz
fork-ledger-6cdb79e2a611d99fa6e13dd224a92dc8badaf2ac.tar.bz2
fork-ledger-6cdb79e2a611d99fa6e13dd224a92dc8badaf2ac.zip
XML reporting now works via the "xml" command
Diffstat (limited to 'src/annotate.h')
-rw-r--r--src/annotate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/annotate.h b/src/annotate.h
index 37810fb9..38ebaeae 100644
--- a/src/annotate.h
+++ b/src/annotate.h
@@ -116,19 +116,19 @@ inline void to_xml(std::ostream& out, const annotation_t& details)
if (details.price)
{
- push_xml y(out, "ann-price");
+ push_xml y(out, "price");
to_xml(out, *details.price);
}
if (details.date)
{
- push_xml y(out, "ann-date");
- to_xml(out, *details.date);
+ push_xml y(out, "date");
+ to_xml(out, *details.date, false);
}
if (details.tag)
{
- push_xml y(out, "ann-tag");
+ push_xml y(out, "tag");
out << y.guard(*details.tag);
}
}