Add charset to HTML5 doc (and make more XHTML friendly)

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2609 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Brett Zamir 2013-10-29 03:09:52 +00:00
parent e5f3e81a07
commit 2400493cab
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<?php
/*
* fileopen.php
@ -26,6 +26,11 @@
$prefix = 'data:' . $info['mime'] . ';base64,';
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<script>
window.top.window.svgEditor.processFile("<?php echo $prefix . base64_encode($output); ?>", "<?php echo htmlentities($type); ?>");
</script>
</head><body></body>
</html>