Permalink
Browse files

#138 Escape '"' in tags for JSON output

  • Loading branch information...
lauft committed May 11, 2018
1 parent 2c5812f commit fac5d6a057a806ef19b7b7803104b67ee21e0893
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 () ||

0 comments on commit fac5d6a

Please sign in to comment.