diff options
-rw-r--r-- | lib/sisu/v0/constants.rb | 2 | ||||
-rw-r--r-- | lib/sisu/v0/response.rb | 2 | ||||
-rw-r--r-- | lib/sisu/v0/sst_to_s_xml_node.rb | 6 |
3 files changed, 4 insertions, 6 deletions
diff --git a/lib/sisu/v0/constants.rb b/lib/sisu/v0/constants.rb index 883f1c00..1fa40fb1 100644 --- a/lib/sisu/v0/constants.rb +++ b/lib/sisu/v0/constants.rb @@ -60,7 +60,5 @@ =end -SQL_TEST_FILE=File.new('sqlite3_insert.sql','w+') - __END__ diff --git a/lib/sisu/v0/response.rb b/lib/sisu/v0/response.rb index ba3c1a82..cce90d49 100644 --- a/lib/sisu/v0/response.rb +++ b/lib/sisu/v0/response.rb @@ -69,7 +69,7 @@ module SiSU_Response elsif response == 'no'; false elsif response =~/^quit|exit$/; exit else puts "[please type: 'yes', 'no' or 'quit']" - answer?(ask) + response?(ask) end ans end diff --git a/lib/sisu/v0/sst_to_s_xml_node.rb b/lib/sisu/v0/sst_to_s_xml_node.rb index 76e30b60..697a7a77 100644 --- a/lib/sisu/v0/sst_to_s_xml_node.rb +++ b/lib/sisu/v0/sst_to_s_xml_node.rb @@ -441,9 +441,9 @@ WOK if para if @rcdc==false \ and (para =~/~metadata/ or para =~/^1~meta\s+Document Information/) - if para !~/(^0~|^@\S+?:|^\s*$|<ENDNOTES>|<EOF>)/ - @rcdc=true - end + if para !~/(^0~|^@\S+?:|^\s*$|<ENDNOTES>|<EOF>)/ + @rcdc=true + end @sto=SiSU_text_parts::Split_text_object.new(@md,para).lev_segname_para unless @rcdc format_scroll=SiSU_XML_format::Format_scroll.new(@md,@sto.text) if @sto.format =~/i[12]|null/ |