aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/shared_markup_alt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v4/shared_markup_alt.rb')
-rw-r--r--lib/sisu/v4/shared_markup_alt.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/sisu/v4/shared_markup_alt.rb b/lib/sisu/v4/shared_markup_alt.rb
index 936ec06a..27d968ca 100644
--- a/lib/sisu/v4/shared_markup_alt.rb
+++ b/lib/sisu/v4/shared_markup_alt.rb
@@ -192,7 +192,7 @@ module SiSU_TextRepresentation
@s=@s
end
else
- p __FILE__ +':'+ __LINE__.to_s
+ p __FILE__ << ':' << __LINE__.to_s
end
@s
end
@@ -227,7 +227,6 @@ module SiSU_TextRepresentation
SiSU_TextRepresentation::Alter.new(@s).strip_clean_of_markup
end
def dgst
- en_dgst,img_dgst={},{}
txt_dgst=digest(txt)
{ txt: txt, dgst_txt: txt_dgst }
end
@@ -253,7 +252,6 @@ module SiSU_TextRepresentation
def images(imgs)
sys=SiSU_Env::SystemCall.new
line_image=[]
- img_dgst={}
if imgs and imgs.length > 0
@image_name,@image_dgst,@img=[],[],[]
imgs.each do |i|
@@ -268,7 +266,6 @@ module SiSU_TextRepresentation
nil
end
img_type = /\S+\.(png|jpg|gif)/.match(i)[1]
- not_found_msg='image not found'
if image_source
para_image = image_source + '/' + i
image_name = i
@@ -298,7 +295,6 @@ module SiSU_TextRepresentation
if @t_o.of !=:comment \
&& @t_o.of !=:structure \
&& @t_o.of !=:layout
- en_dgst,img_dgst={},{}
txt_stripped_dgst=digest(stripped_clean(@t_o))
txt_markup_reverted_dgst=digest(markup_reverted(@t_o))
endnotes_dgst=[]