diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-10-01 15:40:42 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-10-01 15:40:42 -0400 |
commit | 32d32bf7ecfbc84a58d67a920135ef0bddfb9ee0 (patch) | |
tree | 8471d77cb4cb40030295bed0950e6338259eb832 /lib/sisu/v3/sst_do_inline_footnotes.rb | |
parent | v3: cosmetic code, if, else, remove some semicolons (;) replace with newlines (diff) |
v3: cosmetic code, if true ; x, remove semicolons replace with "then"
Diffstat (limited to 'lib/sisu/v3/sst_do_inline_footnotes.rb')
-rw-r--r-- | lib/sisu/v3/sst_do_inline_footnotes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v3/sst_do_inline_footnotes.rb b/lib/sisu/v3/sst_do_inline_footnotes.rb index 08c599ce..b30fa8d2 100644 --- a/lib/sisu/v3/sst_do_inline_footnotes.rb +++ b/lib/sisu/v3/sst_do_inline_footnotes.rb @@ -124,7 +124,7 @@ module SiSU_ConvertFootnotes SiSU_Screen::Ansi.new(@opt.cmd,'convert footnotes').green_title_hi unless @opt.cmd =~/q/ file_array=IO.readlines(@opt.fns,'') file_array.each do |l| - if l =~/\r\n/; l.gsub!(/\r\n/,"\n") + if l =~/\r\n/ then l.gsub!(/\r\n/,"\n") end end meta=file_array.dup |