]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
add semicolon, thanks @pavel-odintsov
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 30 Sep 2013 09:21:25 +0000 (11:21 +0200)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 30 Sep 2013 09:21:25 +0000 (11:21 +0200)
pdns/ws.cc

index 7c02d31d65b7eaa1c97d8e980488ec453275dba6..004e1a4bc576f94681c786358f1f5072468865b5 100644 (file)
@@ -99,7 +99,7 @@ static string htmlescape(const string &s) {
   for(string::const_iterator it=s.begin(); it!=s.end(); ++it) {
     switch (*it) {
     case '&':
-      result += "&amp";
+      result += "&amp;";
       break;
     case '<':
       result += "&lt;";