Skip to content

Commit

Permalink
Update jekyll-plantuml.rb
Browse files Browse the repository at this point in the history
Changing Returned html tag to object to enable clickable links
  • Loading branch information
SebastienAndreo authored Jan 7, 2019
1 parent 5eec98f commit 1f134c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/jekyll-plantuml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ def render(context)
puts "File #{svg} created (#{File.size(svg)} bytes)"
end
end
"<p><img src='#{site.baseurl}/uml/#{name}.svg' #{@html}
alt='PlantUML SVG diagram' class='plantuml'/></p>"
"<p><object data='#{site.baseurl}/uml/#{name}.svg' type="image/svg+xml" #{@html}></object></p>"
end
end
end
Expand Down

0 comments on commit 1f134c8

Please sign in to comment.