We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5c990 commit 6dad61bCopy full SHA for 6dad61b
lib/creek/drawing.rb
@@ -83,7 +83,9 @@ def load_images_pathnames_by_cells
83
col_to_selector = 'xdr:to/xdr:col'.freeze
84
85
@drawings.xpath('//xdr:twoCellAnchor').each do |drawing|
86
- embed = drawing.xpath(image_selector).first.attributes['embed']
+ # embed = drawing.xpath(image_selector).first.attributes['embed']
87
+ temp = drawing.xpath(image_selector).first
88
+ embed = temp.attributes['embed'] if temp
89
next if embed.nil?
90
91
rid = embed.value
0 commit comments