lib/axlsx/drawing/graphic_frame.rb in axlsx-1.1.4 vs lib/axlsx/drawing/graphic_frame.rb in axlsx-1.1.5

- old
+ new

@@ -30,10 +30,11 @@ # Serializes the object # @param [String] str # @return [String] def to_xml_string(str = '') - str << '<xdr:graphicFrame>' + # macro attribute should be optional! + str << '<xdr:graphicFrame macro="">' str << '<xdr:nvGraphicFramePr>' str << '<xdr:cNvPr id="2" name="' << chart.title.text << '"/>' str << '<xdr:cNvGraphicFramePr/>' str << '</xdr:nvGraphicFramePr>' str << '<xdr:xfrm>'