Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion plantuml/content-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ if (!document.doctype &&
break;

case 'svg':
document.body.innerHTML = ['<img id="im" src="', escapeHtml(url), '" />'].join('');
//document.body.innerHTML = ['<img id="im" src="', escapeHtml(url), '" />'].join('');
document.body.innerHTML = ['<object data="', escapeHtml(url), '" type="image/svg+xml"> Fail </object>'].join('');
break;

case 'txt':
Expand Down
2 changes: 1 addition & 1 deletion plantuml/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "PlantUML Viewer",
"version": "1.2",
"version": "1.3",
"manifest_version": 2,
"description": "Shows graphs and diagrams rendered by PlantUML (UML, Ditaa and Dot).",
"icons": {
Expand Down