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
I looked in the test suite and didn't see a test of parsing this attribute. t/page/document.t tests the behaviour of the attribute, but not the parsing of the attribute from frontmatter into a Statocles::Document.
What say you?
Thanks!
-CXW
The text was updated successfully, but these errors were encountered:
I say I'm starting to see why folks hate YAML 🙁. IIRC tinita has been working on making YAML::PP better, so Statocles should probably use that. But I also thought she was making YAML.pm a frontend to the (compatible) backend libraries (that work may be still underway).
I think for now swapping to YAML::PP is probably the best option. Statocles v0 is in maintenance mode until the v2 branch is ready (which uses Yancy::Backend::Static to parse the documents, which may also have this same problem), so drastic changes here aren't that valuable.
(At most tangentially related to #541 (comment))
System:
Input file:
Expected: parses OK
Observed:
It looks like this is because Statocles::Document uses YAML, not YAML::PP or YAML::XS. For example:
I looked in the test suite and didn't see a test of parsing this attribute.
t/page/document.t
tests the behaviour of the attribute, but not the parsing of the attribute from frontmatter into aStatocles::Document
.What say you?
Thanks!
-CXW
The text was updated successfully, but these errors were encountered: