diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-05-07T14·46+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-05-07T14·46+0000 |
commit | 83dfa898706e1faa491b3a50ea20baf60abda387 (patch) | |
tree | c498fcd4428bd53f41415b027bc9eb5f044c5e95 /src/libutil | |
parent | 01e58adce0767f1a484d80fcbcf67c7945cbc146 (diff) | |
parent | 4750065ada362bd46e85879975a3148e18df5b0c (diff) |
* Sync with the trunk.
Diffstat (limited to 'src/libutil')
-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. */ |