We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eee8a5 commit 513c969Copy full SHA for 513c969
etc/ebook/build-pdf.rb
@@ -82,7 +82,9 @@ def build_chapter chapter_data
82
83
chapter.force_encoding(::Encoding::UTF_8)
84
85
- chapter_front_matter = YAML.load_file("../../_chapters/#{chapter_name}.md")
+ # Update for Ruby 3.2
86
+ # chapter_front_matter = YAML.load_file("../../_chapters/#{chapter_name}.md")
87
+ chapter_front_matter = YAML.safe_load_file("../../_chapters/#{chapter_name}.md", permitted_classes: [Time])
88
89
#################
90
# Validations
0 commit comments