Skip to content

Commit

Permalink
Quotes and newlines no longer escaped. Use pystring if you need newli…
Browse files Browse the repository at this point in the history
…nes.
  • Loading branch information
aslakhellesoy committed Dec 29, 2010
2 parents 9b28f15 + 5ef2b91 commit 0ae2651
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
== 0.3.1

=== Changed Features
* Quotes (") and newline (\n) in step arguments are no longer unescaped. (Aslak Hellesøy)

== 0.3.0

=== Bugfixes
Expand Down
4 changes: 2 additions & 2 deletions lib/aruba/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def _mkdir(dir_name)
end

def unescape(string)
string.gsub('\n', "\n")
.gsub('\"', '"')
string.gsub('\n', "\n").
gsub('\"', '"')
end

def regexp(string_or_regexp)
Expand Down

0 comments on commit 0ae2651

Please sign in to comment.