diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/SVG/Graph/Graph.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SVG/Graph/Graph.rb b/lib/SVG/Graph/Graph.rb index 403a0202b..a5e1ea732 100644 --- a/lib/SVG/Graph/Graph.rb +++ b/lib/SVG/Graph/Graph.rb @@ -829,7 +829,7 @@ module SVG @doc << DocType.new( %q{svg PUBLIC "-//W3C//DTD SVG 1.0//EN" } + %q{"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"} ) if style_sheet && style_sheet != '' - @doc << ProcessingInstruction.new( "xml-stylesheet", + @doc << Instruction.new( "xml-stylesheet", %Q{href="#{style_sheet}" type="text/css"} ) end @root = @doc.add_element( "svg", { |