diff --git a/src/Interval.cpp b/src/Interval.cpp index 25aacf64..332ce7d5 100644 --- a/src/Interval.cpp +++ b/src/Interval.cpp @@ -160,7 +160,7 @@ std::string Interval::json () const if (tags[0]) tags += ','; - tags += "\"" + tag + "\""; + tags += "\"" + escape (tag, '"') + "\""; } if (range.start.toEpoch () ||