diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-20T09·20+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-20T09·20+0000 |
commit | d66ea83a763a36e7e7b9558b90abcfe09bec1b85 (patch) | |
tree | 6eaa7fc607da31c6ed3e221826cb1d6be43a6c9b /src/libutil/xml-writer.cc | |
parent | f71ea9c911294ec72f52137175ad088a2f50ab97 (diff) | |
parent | aac5fcfbb54ff64c593d8919f7f52025415ea996 (diff) |
* Sync with the trunk.
Diffstat (limited to 'src/libutil/xml-writer.cc')
-rw-r--r-- | src/libutil/xml-writer.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/xml-writer.cc b/src/libutil/xml-writer.cc index 20351e2c30ac..7d698bf6aed5 100644 --- a/src/libutil/xml-writer.cc +++ b/src/libutil/xml-writer.cc @@ -91,6 +91,7 @@ void XMLWriter::writeAttrs(const XMLAttrs & attrs) char c = i->second[j]; if (c == '"') output << """; else if (c == '<') output << "<"; + else if (c == '>') output << ">"; else if (c == '&') output << "&"; /* Escape newlines to prevent attribute normalisation (see XML spec, section 3.3.3. */ |