We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2ea113 commit 182cc82Copy full SHA for 182cc82
src/resource-manager/resource_templates.js
@@ -351,8 +351,8 @@ window.templates.resource_detail || (window.templates.resource_detail = new func
351
if (text.startswith("data:"))
352
{
353
var pos = text.indexOf(",");
354
- var is_base64 = text.lastIndexOf(";base64", pos) != -1;
355
- text = is_base64 ? atob(text.slice(pos + 1)) : text.slice(pos + 1);
+ var is_base64 = text.lastIndexOf(";base64", pos) != -1;
+ text = is_base64 ? atob(text.slice(pos + 1)) : text.slice(pos + 1);
356
}
357
358
return ["pre", text];
0 commit comments