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.
2 parents 6889c47 + 4b22f8f commit 16e42c2Copy full SHA for 16e42c2
1 file changed
lib/docx/document.rb
@@ -5,6 +5,11 @@
5
require 'nokogiri'
6
require 'zip'
7
8
+# Disable ZIP64 support to maintain compatibility with the previous default behavior
9
+# (before rubyzip 3.x) and ensure compatibility with all readers. Rubyzip 3.x enables
10
+# ZIP64 by default, but many readers (including pandoc) don't support it for small files.
11
+Zip.write_zip64_support = false
12
+
13
module Docx
14
# The Document class wraps around a docx file and provides methods to
15
# interface with it.
0 commit comments