TwP / inifile

Native Ruby package for reading and writing INI files
http://codeforpeople.rubyforge.org/inifile
95 stars 47 forks source link

Ability to parse unescaped values #15

Closed jpg0 closed 10 years ago

jpg0 commented 11 years ago

It would be useful to be able to parse files which do not escape their values, just like they can be created with escape => false. For instance Picasa does not escape values,and writes files containing lines such as: key=this=that When setting escape => false, it should be respected for reading as well as writing.

nicobrevin commented 11 years ago

turns out I've just solved exactly the same problem in my pull request (#16) - however my fix works both ways, can read and write the escaped parameter value.

nicobrevin commented 11 years ago

actually, not quite, I require you to escape the value...