aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-08-14 20:18:57 -0400
committerRalph Amissah <ralph@amissah.com>2008-08-14 20:18:57 -0400
commite2fb7c3734fd1b7ad789a5cae42a87fb16704a9a (patch)
tree433cf78e571822400129743d3d7312927f7d0fc9 /lib
parenthtml format, consolidate html_format file, prune later; version number bumped (diff)
texpdf, fix: image dimension match (for post 0.68.0 changed middle layer
representation)
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v0/texpdf_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v0/texpdf_format.rb b/lib/sisu/v0/texpdf_format.rb
index a3f2f7d2..f776dd5a 100644
--- a/lib/sisu/v0/texpdf_format.rb
+++ b/lib/sisu/v0/texpdf_format.rb
@@ -460,7 +460,7 @@ para
z,url=regx_url.match(word).captures if word =~regx_url
url=url.strip
if word =~/#{Mx[:lnk_o]}\s*\S+\.?(?:png|jpg|gif)/ \
- and word=~/\s+\d+x\d+\s+/
+ and word=~/\s+\d+x\d+(\s+|\s*#{Mx[:lnk_c]})/
image,x,y=z.scan(/\S+/)
image.gsub!(/\\/,'')
width=if z =~/(\d+)x\d*/