Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 379337
Collapse All | Expand All

(-)trunk/boost/property_tree/detail/xml_parser_write.hpp (-2 / +5 lines)
Lines 116-121 Link Here
116
                if (optional<const Ptree &> attribs = pt.get_child_optional(xmlattr<Ch>()))
116
                if (optional<const Ptree &> attribs = pt.get_child_optional(xmlattr<Ch>()))
117
                    for (It it = attribs.get().begin(); it != attribs.get().end(); ++it)
117
                    for (It it = attribs.get().begin(); it != attribs.get().end(); ++it)
118
                        stream << Ch(' ') << it->first << Ch('=') << 
118
                        stream << Ch(' ') << it->first << Ch('=')
119
                                  Ch('"') << it->second.template get_value<std::basic_string<Ch> >() << Ch('"');
119
                               << Ch('"')
120
                               << encode_char_entities(
121
                                    it->second.template get_value<std::basic_string<Ch> >())
122
                               << Ch('"');
120
123
121
                if ( has_attrs_only )
124
                if ( has_attrs_only )

Return to bug 379337