mquinson / po4a

Maintain the translations of your documentation with ease (PO for anything)
http://po4a.org/
GNU General Public License v2.0
121 stars 58 forks source link

do not quote booleans in YAML #393

Closed gissimo closed 1 year ago

gissimo commented 1 year ago

Update to TransTractor.pm in order to avoid quotes being added around boolean values (true/false) in YAML and MarkDown front matter. If quotes are added the values are treated as strings rather than as booleans.

mquinson commented 1 year ago

Many thanks for the changes. I'm integrating it now.

Next time, it'd be great if you could write a test for your changes, or extend an existing test.

gissimo commented 1 year ago

You're right, and I'm sorry. I am not familiar with Perl, just good enough at hacking a solution. Noted for next time.