diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2018-07-06 16:10:17 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2018-09-08 16:12:35 +0200 |
commit | 35aaedc729970ae2c5aa26738babd6c9939e338c (patch) | |
tree | ba482cd1dcb113c7125c1b66ba52d06b2ad1b7d4 /rem.lua | |
parent | ba120b9edec8a34b12bbc8b2530d890afc545364 (diff) | |
download | caldr-35aaedc729970ae2c5aa26738babd6c9939e338c.tar.gz |
rem, common: recognize multi-valued lines
For muliple values we simply concatenate the input with newlines.
None of the properties we implement so far need special
considerations in this regard.
Diffstat (limited to 'rem.lua')
-rw-r--r-- | rem.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -35,6 +35,7 @@ local noiseln = common.noiseln local debugln = common.debugln local trim_whitespace = common.trim_whitespace local unescape_string = common.unescape_string +local internalize_value = common.internalize_value local seconds_of_time = function (t) return t % 60 @@ -261,7 +262,7 @@ local rem_of_vcalendars do end local string_of_textdata = function (val) - local sane = unescape_string (val.value) + local sane = internalize_value (val.value) return trim_whitespace (sane) end |