cucumber-attic / cucumber-ruby-tcl

Tcl bindings for Cucumber
MIT License
9 stars 6 forks source link

Cucumber::Tcl::DataTable.to_tcl_list doesn't handle special characters #35

Open brucepreston opened 9 years ago

brucepreston commented 9 years ago

Cucumber::Tcl::DataTable.to_tcl_list attempts to create a Tcl-safe list by wrapping each array item in braces. This is correct except when the array item itself contains braces or backslashes. These must be escaped with a backslash.