Browse Source

Consolidate BR tags.

euromark 11 years ago
parent
commit
4e5980e29e

+ 1 - 1
src/Error/Debugger.php

@@ -435,7 +435,7 @@ class Debugger {
 		$highlight = highlight_string($str, true);
 		if ($added) {
 			$highlight = str_replace(
-				'&lt;?php&nbsp;<br />',
+				'&lt;?php&nbsp;<br/>',
 				'',
 				$highlight
 			);

+ 2 - 2
src/Template/Error/fatal_error.ctp

@@ -18,11 +18,11 @@
 <p class="error">
 	<strong>Error: </strong>
 	<?= h($error->getMessage()); ?>
-	<br>
+	<br/>
 
 	<strong>File</strong>
 	<?= h($error->getFile()); ?>
-	<br>
+	<br/>
 	<strong>Line: </strong>
 	<?= h($error->getLine()); ?>
 </p>

+ 1 - 1
src/Template/Error/missing_connection.ctp

@@ -17,7 +17,7 @@
 <p class="error">
 	<strong>Error: </strong>
 	<?= sprintf('A Database connection using "%s" was missing or unable to connect.', h($class)); ?>
-	<br />
+	<br/>
 	<?php
 	if (isset($message)):
 		echo sprintf('The database server returned this error: %s', h($message));

+ 2 - 2
tests/test_app/TestApp/Template/Pages/home.ctp

@@ -94,8 +94,8 @@ if (file_exists(APP . 'Config/datasources.php')): ?>
 
 <h3>Editing this Page</h3>
 <p>
-To change the content of this page, edit: APP/View/Pages/home.ctp.<br />
-To change its layout, edit: APP/View/Layout/default.ctp.<br />
+To change the content of this page, edit: APP/View/Pages/home.ctp.<br/>
+To change its layout, edit: APP/View/Layout/default.ctp.<br/>
 You can also add some CSS styles for your pages at: APP/webroot/css.;
 </p>
 

+ 5 - 5
tests/test_app/TestApp/Template/Posts/test_nocache_tags.ctp

@@ -53,15 +53,15 @@ if (!empty($filePresent)):
 <a href="https://trac.cakephp.org/wiki/notes/1.2.x.x"><?= __d('cake', 'Read the release notes and get the latest version'); ?> </a>
 <h2><?= __d('cake', 'Editing this Page'); ?></h2>
 <p>
-<?= __d('cake', 'To change the content of this page, create: /app/View/Pages/home.ctp.'); ?><br />
-<?= __d('cake', 'To change its layout, create: /app/View/Layout/default.ctp.'); ?><br />
-<a href="http://manual.cakephp.org/"><?= __d('cake', 'See the views section of the manual for more info.'); ?> </a><br />
+<?= __d('cake', 'To change the content of this page, create: /app/View/Pages/home.ctp.'); ?><br/>
+<?= __d('cake', 'To change its layout, create: /app/View/Layout/default.ctp.'); ?><br/>
+<a href="http://manual.cakephp.org/"><?= __d('cake', 'See the views section of the manual for more info.'); ?> </a><br/>
 <?= __d('cake', 'You can also add some CSS styles for your pages at: app/webroot/css/.'); ?>
 </p>
 <h2><?= __d('cake', 'Getting Started'); ?></h2>
 <p>
-<a href="http://manual.cakephp.org/appendix/blog_tutorial"><?= __d('cake', 'The 15 min Blog Tutorial'); ?></a><br />
-<a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html"><?= __d('cake', 'Cook up Web sites fast with CakePHP'); ?></a><br />
+<a href="http://manual.cakephp.org/appendix/blog_tutorial"><?= __d('cake', 'The 15 min Blog Tutorial'); ?></a><br/>
+<a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html"><?= __d('cake', 'Cook up Web sites fast with CakePHP'); ?></a><br/>
 <a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-wiki1.html"><?= __d('cake', 'Create an interactive production wiki using PHP'); ?></a>
 </p>
 <h2><?= __d('cake', 'More about CakePHP'); ?></h2>