1.1 --- a/vCalendar.py Thu May 12 16:09:54 2016 +0200
1.2 +++ b/vCalendar.py Thu May 12 17:51:10 2016 +0200
1.3 @@ -3,7 +3,8 @@
1.4 """
1.5 Parsing of vCalendar and iCalendar files.
1.6
1.7 -Copyright (C) 2008, 2009, 2011, 2013, 2014 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2008, 2009, 2011, 2013, 2014, 2015,
1.9 + 2016 Paul Boddie <paul@boddie.org.uk>
1.10
1.11 This program is free software; you can redistribute it and/or modify it under
1.12 the terms of the GNU General Public License as published by the Free Software
1.13 @@ -189,12 +190,13 @@
1.14
1.15 for param_name, param_value in parameters.items():
1.16 if param_name in QUOTED_PARAMETERS:
1.17 - param_value = self.encode_quoted_parameter_value(param_value)
1.18 separator = '","'
1.19 else:
1.20 separator = ","
1.21 if param_name in MULTIVALUED_PARAMETERS:
1.22 param_value = separator.join(param_value)
1.23 + if param_name in QUOTED_PARAMETERS:
1.24 + param_value = self.encode_quoted_parameter_value(param_value)
1.25 encoded_parameters[param_name] = param_value
1.26
1.27 return encoded_parameters