Skip to content

Commit

Permalink
Merge pull request #767 from cakephp/fix-766
Browse files Browse the repository at this point in the history
Remove double escaping in templates
  • Loading branch information
othercorey authored Jul 17, 2020
2 parents e94ee9e + 7312562 commit 801086c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"require": {
"php": ">=7.2",
"cakephp/cakephp": "^4.0",
"cakephp/cakephp": "^4.1",
"cakephp/chronos": "^2.0",
"composer/composer": "^1.3",
"jdorn/sql-formatter": "^1.2"
Expand Down
6 changes: 3 additions & 3 deletions templates/element/environment_panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<?php foreach ($app as $key => $val): ?>
<tr>
<td><?= h($key) ?></td>
<td><?= h(Debugger::exportVar($val)) ?></td>
<td><?= Debugger::exportVar($val) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
Expand All @@ -64,7 +64,7 @@
<?php foreach ($cake as $key => $val): ?>
<tr>
<td><?= h($key) ?></td>
<td><?= h(Debugger::exportVar($val)) ?></td>
<td><?= Debugger::exportVar($val) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
Expand Down Expand Up @@ -140,7 +140,7 @@
<?php foreach ($hidef as $key => $val): ?>
<tr>
<td><?= h($key) ?></td>
<td><?= h(Debugger::exportVar($val)) ?></td>
<td><?= Debugger::exportVar($val) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
Expand Down

0 comments on commit 801086c

Please sign in to comment.