diff --git a/src/bin/dnd.c b/src/bin/dnd.c index fb39410..01daa5c 100644 --- a/src/bin/dnd.c +++ b/src/bin/dnd.c @@ -70,7 +70,7 @@ _escape_parse(const char *str) for (d = dest, s = str; *s; d++) { - if (s[0] == '%') + if (s[0] == '%' && !isspace(s[1])) { if (s[1] && s[2]) {