You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following two YAML documents will produce the same output when passed to tinyyaml.parse().
first_input=[[abstract: | This is *the abstract*. It consists of two paragraphs.]]second_input=[[abstract: | This is *the abstract*. It consists of two paragraphs.]]tinyyaml=require("tinyyaml")
fork, vinpairs(tinyyaml.parse(first_input)) doprint(k, v)
endfork, vinpairs(tinyyaml.parse(second_input)) doprint(k, v)
end
Executing the above code in Lua 5.2.4 and in Lua 5.3 gives me the following results:
abstract This is *the abstract*.
It consists of two paragraphs.
abstract This is *the abstract*.
It consists of two paragraphs.
Here is the expected output:
abstract This is *the abstract*.
It consists of two paragraphs.
abstract This is *the abstract*.
It consists of two paragraphs.
The text was updated successfully, but these errors were encountered:
The following two YAML documents will produce the same output when passed to
tinyyaml.parse()
.Executing the above code in Lua 5.2.4 and in Lua 5.3 gives me the following results:
Here is the expected output:
The text was updated successfully, but these errors were encountered: