diff options
author | deva <deva> | 2010-02-26 10:58:02 +0000 |
---|---|---|
committer | deva <deva> | 2010-02-26 10:58:02 +0000 |
commit | 45bcd95467ffc2fce3b246c9c26c9070e29ae86d (patch) | |
tree | 1d1fc710a0e9ba4b85f3eb7e77da2c7d5234af50 /server/src/widgetgenerator.cc | |
parent | 6391eee732d7516a30eb93cddea4cf190026da94 (diff) |
Make xml escaped characters show up correclty in the client.
Diffstat (limited to 'server/src/widgetgenerator.cc')
-rw-r--r-- | server/src/widgetgenerator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/widgetgenerator.cc b/server/src/widgetgenerator.cc index 1e60479..57be1f2 100644 --- a/server/src/widgetgenerator.cc +++ b/server/src/widgetgenerator.cc @@ -152,7 +152,7 @@ static std::string send_macro_widget(Macro ¯o, while(p != widget.attributes.end()) { if(p->first != "tagname" && p->first != "map") { if( ! (p->first == "name" && p->second == "") ) - result += " " + p->first + "=\"" + p->second + "\""; + result += " " + p->first + "=\"" + xml_encode(p->second) + "\""; } p++; } |