summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/util/validators.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-02-02 20:26:15 +0900
committerRandy Morgan <[email protected]>2012-02-02 20:26:15 +0900
commit710f5eac4d8d7d017c42348180e9ae0a5e8fec3c (patch)
tree4cce6fc0e445705de8e3cad06152a7455c2942bf /lib/axlsx/util/validators.rb
parentd4a00926a263329befc9526a930b274210a13abf (diff)
downloadcaxlsx-710f5eac4d8d7d017c42348180e9ae0a5e8fec3c.tar.gz
caxlsx-710f5eac4d8d7d017c42348180e9ae0a5e8fec3c.zip
Adding in hyperlinking for images as per issue #22
Diffstat (limited to 'lib/axlsx/util/validators.rb')
-rw-r--r--lib/axlsx/util/validators.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/util/validators.rb b/lib/axlsx/util/validators.rb
index 5e590bbe..3d72794a 100644
--- a/lib/axlsx/util/validators.rb
+++ b/lib/axlsx/util/validators.rb
@@ -119,7 +119,7 @@ module Axlsx
# XML_NS_R, TABLE_R, WORKBOOK_R, WORKSHEET_R, APP_R, RELS_R, CORE_R, STYLES_R, CHART_R, DRAWING_R are allowed
# @param [Any] v The value validated
def self.validate_relationship_type(v)
- RestrictionValidator.validate :relationship_type, [XML_NS_R, TABLE_R, WORKBOOK_R, WORKSHEET_R, APP_R, RELS_R, CORE_R, STYLES_R, CHART_R, DRAWING_R, IMAGE_R], v
+ RestrictionValidator.validate :relationship_type, [XML_NS_R, TABLE_R, WORKBOOK_R, WORKSHEET_R, APP_R, RELS_R, CORE_R, STYLES_R, CHART_R, DRAWING_R, IMAGE_R, HYPERLINK_R], v
end
# Requires that the value is a valid table element type