aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/shared_markup_alt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v2/shared_markup_alt.rb')
-rw-r--r--lib/sisu/v2/shared_markup_alt.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v2/shared_markup_alt.rb b/lib/sisu/v2/shared_markup_alt.rb
index 71405e02..52ecfe24 100644
--- a/lib/sisu/v2/shared_markup_alt.rb
+++ b/lib/sisu/v2/shared_markup_alt.rb
@@ -260,8 +260,7 @@ module SiSU_text_representation
elsif FileTest.file?("#{@env.path.image_source_tex}/#{i}")
@env.path.image_source_tex
else
- tell=SiSU_Screen::Ansi.new(@md.cmd,"ERROR - image:", %{"#{i}" missing}, "search locations: #{@env.path.image_source_local_tex}, #{@env.path.image_source_remote_tex} and #{@env.path.image_source_tex}")
- tell.error2 unless @md.cmd =~/q/
+ SiSU_Screen::Ansi.new(@md.cmd,"ERROR - image:", %{"#{i}" missing}, "search locations: #{@env.path.image_source_local_tex}, #{@env.path.image_source_remote_tex} and #{@env.path.image_source_tex}").error2 unless @md.cmd =~/q/
nil
end
img_type = /\S+\.(png|jpg|gif)/.match(i)[1]