We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff663f3 commit 66b19fdCopy full SHA for 66b19fd
etc/ebook/build-pdf.rb
@@ -84,7 +84,7 @@ def build_chapter chapter_data
84
85
# Update for Ruby 3.2
86
# chapter_front_matter = YAML.load_file("../../_chapters/#{chapter_name}.md")
87
- chapter_front_matter = YAML.unsafe_load_file("../../_chapters/#{chapter_name}.md")
+ chapter_front_matter = YAML::load(File.read("../../_chapters/#{chapter_name}.md"))
88
89
#################
90
# Validations
0 commit comments