##// END OF EJS Templates
Fixed: SVG::Graph raises an error when using external stylesheet (#1402)....
Jean-Philippe Lang -
r1510:cc9b8f78783b
parent child
Show More
@@ -829,7 +829,7 module SVG
829 @doc << DocType.new( %q{svg PUBLIC "-//W3C//DTD SVG 1.0//EN" } +
829 @doc << DocType.new( %q{svg PUBLIC "-//W3C//DTD SVG 1.0//EN" } +
830 %q{"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"} )
830 %q{"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"} )
831 if style_sheet && style_sheet != ''
831 if style_sheet && style_sheet != ''
832 @doc << ProcessingInstruction.new( "xml-stylesheet",
832 @doc << Instruction.new( "xml-stylesheet",
833 %Q{href="#{style_sheet}" type="text/css"} )
833 %Q{href="#{style_sheet}" type="text/css"} )
834 end
834 end
835 @root = @doc.add_element( "svg", {
835 @root = @doc.add_element( "svg", {
General Comments 0
You need to be logged in to leave comments. Login now