Skip to content

Commit

Permalink
use only basename for tempname of PDF: metanorma/metanorma-ogc#522
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Apr 6, 2023
1 parent b9ad5e2 commit 341133f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/isodoc/xslfo_convert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def xref_parse(node, out)

def input_xml_path(input_filename, xml_file, debug)
docxml, filename, dir = convert_init(xml_file, input_filename, debug)
input_filename = Tempfile.open([filename, ".xml"],
input_filename = Tempfile.open([File.basename(filename), ".xml"],
encoding: "utf-8") do |f|
f.write xml_file
f.path
Expand Down

0 comments on commit 341133f

Please sign in to comment.