diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-12-22 21:59:01 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-12-22 21:59:01 +0000 |
commit | 8e173ea869d73def4f35606be4cafb5a48060dae (patch) | |
tree | 443ad1d75568f259611f8acad523857ba766b071 /navit/command.c | |
parent | af70a59045ad2c43eb340a1d091863b9eb5e2e76 (diff) | |
download | navit-svn-8e173ea869d73def4f35606be4cafb5a48060dae.tar.gz |
Fix:Core:Allow escaped quotes in strings
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5306 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/command.c')
-rw-r--r-- | navit/command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/command.c b/navit/command.c index 33472454..b3f05226 100644 --- a/navit/command.c +++ b/navit/command.c @@ -363,6 +363,8 @@ eval_value(struct context *ctx, struct result *res) { } if (op[0] == '"') { do { + if (op[0] == '\\' && op[1] == '"') + op++; op++; } while (op[0] && op[0] != '"'); res->attr.type=attr_type_string_begin; |