X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_html_parser.cpp;h=aa818f9ddb7fa7449404d7732d20f7548ab00568;hb=ec7e55c86b12403bf0b6e869339c24cbbd4fcdff;hp=523011700b842079f2bdc31fbae5c07375e33226;hpb=a258482a3b53b90b0932f4a789ba66e8e1576c05;p=metaproxy-moved-to-github.git diff --git a/src/test_html_parser.cpp b/src/test_html_parser.cpp index 5230117..aa818f9 100644 --- a/src/test_html_parser.cpp +++ b/src/test_html_parser.cpp @@ -45,12 +45,12 @@ class MyEvent : public mp::HTMLParserEvent { } void attribute(const char *tagName, - const char *name, const char *value) + const char *name, const char *value, int val_len) { out += " "; out += name; out += "=\""; - out += value; + out.append(value, val_len); out += "\""; }