diff --git a/themes/blueprint/templates/upgrade/getdbcredentials.phtml b/themes/blueprint/templates/upgrade/getdbcredentials.phtml
index e0851b2f33ce2018de24b1a3cebdcdf4969e8897..549e92ae558b94a47891ac6e1dce5594f101dd2a 100644
--- a/themes/blueprint/templates/upgrade/getdbcredentials.phtml
+++ b/themes/blueprint/templates/upgrade/getdbcredentials.phtml
@@ -19,5 +19,5 @@ with permission to alter and create tables.</p>
       <tr><td></td><td><input type="submit" name="submit" value="<?=$this->transEsc('Submit') ?>" /></td></tr>
     </tbody>
   </table>
-  If you don't have the credentials or you wish to print the SQL out : Click here to <input type="submit" name="printsql" value="Skip"> credentials.
+  If you don't have the credentials or you wish to print the SQL out : Click here to <input type="submit" name="printsql" value="Skip" /> credentials.
 </form>
\ No newline at end of file
diff --git a/themes/blueprint/templates/upgrade/showsql.phtml b/themes/blueprint/templates/upgrade/showsql.phtml
index e6ca398d20dd2d144a811751b761d2c108644cba..ee27370e8875f4740a8bc28a54dc8d93886c595c 100644
--- a/themes/blueprint/templates/upgrade/showsql.phtml
+++ b/themes/blueprint/templates/upgrade/showsql.phtml
@@ -7,8 +7,8 @@
 
     // Set up styles:
     $this->headstyle()->appendStyle(
-        "pre {\n"
-        . "  white-space:pre-line; width:90%; overflow-y:visible; padding:8px; margin:1em 2em; background:#EEE; border:1px dashed #CCC;\n"
+        ".pre {\n"
+        . "  white-space:pre-wrap; width:90%; overflow-y:visible; padding:8px; margin:1em 2em; background:#EEE; border:1px dashed #CCC;\n"
         . "}\n"
     );
 ?>