aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/shared_markup_alt.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-06-25 00:11:09 -0400
committerRalph Amissah <ralph@amissah.com>2013-06-25 00:11:09 -0400
commitb3006eb0268887ec481c4d46e4602a3a9a2275e8 (patch)
tree54d8b4fb9f0c2744aa6096b546fe6277c184d273 /lib/sisu/v4/shared_markup_alt.rb
parentdebian/changelog (4.1.5-1) (diff)
parentv4: general code cleaning, sync with v5 (diff)
Merge tag 'sisu_4.1.6' into debian/sid
SiSU 4.1.6
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=[]