- Refactoring (minor): Simplify (empty string is falsey)

- Refactoring (minor): Consistent HTML indenting/no-namespacing and title/icon use
- Testing: Add browser bug test with reference to issue
This commit is contained in:
Brett Zamir
2018-05-18 11:35:24 +08:00
parent f768fe2547
commit 89cbab7217
4 changed files with 35 additions and 11 deletions

View File

@@ -40,10 +40,11 @@
$prefix = 'data:' . $info['mime'] . ';base64,';
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<script>
<html>
<head>
<meta charset="utf-8" />
<title>-</title>
<script>
top.svgEditor.processFile("<?php
@@ -51,6 +52,7 @@ top.svgEditor.processFile("<?php
echo $prefix . base64_encode($output);
?>", "<?php echo $type; ?>");
</script>
</head><body></body>
</script>
</head>
<body></body>
</html>