Skip to content

Commit

Permalink
propagate filename into asciidoctor processing; #9
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Oct 24, 2018
1 parent c50f12e commit ffa3cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exe/metanorma
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ when :asciidoc
exit 0 if extensions.empty?

file = File.read(options[:filename], encoding: "utf-8")
isodoc = processor.input_to_isodoc(file)
isodoc = processor.input_to_isodoc(file, options[:filename])

if options[:relaton]
xml = Nokogiri::XML(isodoc)
Expand Down

0 comments on commit ffa3cc8

Please sign in to comment.