Index: /trunk/wp-admin/bookmarklet.php
===================================================================
--- /trunk/wp-admin/bookmarklet.php	(revision 1501)
+++ /trunk/wp-admin/bookmarklet.php	(revision 1502)
@@ -14,7 +14,8 @@
 if ('b' == $a) {
 
-?><html>
+?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<script language="javascript" type="text/javascript">
+<script type="text/javascript">
 <!--
 window.close()
@@ -28,5 +29,5 @@
 
     $popuptitle = stripslashes($popuptitle);
-    $text = stripslashes($text);
+    $text = stripslashes(urldecode($text));
     
     /* big funky fixes for browsers' javascript bugs */
@@ -71,9 +72,9 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<title>WordPress > Bookmarklet</title>
+<title><?php bloginfo('name') ?> &rsaquo; Bookmarklet &#8212; WordPress</title>
 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
 <link rel="stylesheet" href="wp-admin.css" type="text/css" />
 <link rel="shortcut icon" href="../wp-images/wp-favicon.png" />
-<script type="text/javascript" language="javascript">
+<script type="text/javascript">
 <!--
 function launchupload() {
@@ -122,5 +123,7 @@
 </head>
 <body id="wpbookmarklet">
-<h1 id="wphead"><a href="http://wordpress.org" rel="external">WordPress</a></h1>
+<div id="wphead">
+<h1><?php bloginfo('name') ?></h1>
+</div>
 
 <?php require('edit-form.php'); ?>
