proper quoting of magic chars in completed strings