| Index: Source/core/svg/SVGElement.cpp
|
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
|
| index 0744f7b855f660958d3824fa3da28304a2ad9a6b..2350b67978617ad48b005ff89b016fc98f1cc30c 100644
|
| --- a/Source/core/svg/SVGElement.cpp
|
| +++ b/Source/core/svg/SVGElement.cpp
|
| @@ -48,7 +48,7 @@
|
| #include "core/svg/SVGSVGElement.h"
|
| #include "core/svg/SVGTitleElement.h"
|
| #include "core/svg/SVGUseElement.h"
|
| -
|
| +#include "platform/JSONValues.h"
|
| #include "wtf/TemporaryChange.h"
|
|
|
| namespace blink {
|
| @@ -186,7 +186,7 @@ void SVGElement::reportAttributeParsingError(SVGParsingError error, const Qualif
|
| if (error == NoError)
|
| return;
|
|
|
| - String errorString = "<" + tagName() + "> attribute " + name.toString() + "=\"" + value + "\"";
|
| + String errorString = "<" + tagName() + "> attribute " + name.toString() + "=" + JSONValue::quoteString(value);
|
| SVGDocumentExtensions& extensions = document().accessSVGExtensions();
|
|
|
| if (error == NegativeValueForbiddenError) {
|
|
|