diff --git a/lib/sablon/document_object_model/relationships.rb b/lib/sablon/document_object_model/relationships.rb index 87e53dbc..54e9eea7 100644 --- a/lib/sablon/document_object_model/relationships.rb +++ b/lib/sablon/document_object_model/relationships.rb @@ -104,7 +104,7 @@ def next_rid # Builds the relationship WordML tag and returns it def relationship_tag(rel_attr) attr_str = rel_attr.map { |k, v| %(#{k}="#{v}") }.join(' ') - "" + "".gsub(/&(?!amp;)/, '&') end end end