Update upstream source from tag 'upstream/1.0.21'
Update to upstream version '1.0.21'
with Debian dir 221145a967ab175e59a03ddda79cf5a530af0a1c
Philipp Huebner
4 years ago
|
0 |
# Version 1.0.21
|
|
1 |
|
|
2 |
* Fix handling of strings with ' inside them
|
|
3 |
|
0 | 4 |
# Version 1.0.20
|
1 | 5 |
|
2 | 6 |
* Updating p1_utils to version 1.0.16.
|
22 | 22 |
|
23 | 23 |
{application, fast_yaml,
|
24 | 24 |
[{description, "Fast YAML native library for Erlang / Elixir"},
|
25 | |
{vsn, "1.0.20"},
|
|
25 |
{vsn, "1.0.21"},
|
26 | 26 |
{modules, []},
|
27 | 27 |
{registered, []},
|
28 | 28 |
{applications, [kernel, stdlib]},
|
145 | 145 |
($\s) -> [$\s]; % $\s == "space"
|
146 | 146 |
($\t) -> [$\\, "t"]; % $\t == "tab"
|
147 | 147 |
($\v) -> [$\\, "v"]; % $\v == "vertical tab"
|
148 | |
($') -> [$\\, $']; % $" == simple quote
|
149 | 148 |
($") -> [$\\, $"]; % $" == double quote
|
150 | 149 |
($\\) -> [$\\, $\\]; % $\\ == backslash
|
151 | 150 |
(C) -> C
|
|
381 | 380 |
|
382 | 381 |
encode_decode_simple_quote_test() ->
|
383 | 382 |
FileName = filename:join(["..", "test", "temp_test.yml"]),
|
384 | |
Binary = <<"\'\"\'">>,
|
|
383 |
Binary = <<"'\"'">>,
|
385 | 384 |
Encoded = encode([[{'Source', Binary}]]),
|
386 | 385 |
file:write_file(FileName, Encoded),
|
387 | 386 |
Decoded = decode_from_file(FileName, [plain_as_atom]),
|