From a79f98621cca3304c06ab3312603b3314bfe773f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 29 Jul 2014 19:29:33 -0400 Subject: v5 v6: ensure reset of parsed document directory path * needed in the case of html for some subsequent processing --- lib/sisu/v5/xml_fictionbook2.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/sisu/v5/xml_fictionbook2.rb') diff --git a/lib/sisu/v5/xml_fictionbook2.rb b/lib/sisu/v5/xml_fictionbook2.rb index 35bccc71..997f0b0a 100644 --- a/lib/sisu/v5/xml_fictionbook2.rb +++ b/lib/sisu/v5/xml_fictionbook2.rb @@ -86,6 +86,7 @@ module SiSU_XML_Fictionbook __LINE__.to_s + ':' + __FILE__ end ensure + Dir.chdir(@opt.f_pth[:pth]) end end private -- cgit v1.2.3