Skip to content

Commit e6ea6f6

Browse files
committed
[FIX] Modified svg function to take the whole content of svg tags. Before last > was missing.
1 parent 7d5efda commit e6ea6f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/widgets/webview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ def svg(self):
8888
""" Return SVG string of the first SVG element on the page, or
8989
raise ValueError if not any. """
9090
html = self.frame.toHtml()
91-
return html[html.index('<svg '):html.index('</svg>') + 5]
91+
return html[html.index('<svg '):html.index('</svg>') + 6]

0 commit comments

Comments
 (0)