Skip to content

Commit 801086c

Browse files
authored
Merge pull request #767 from cakephp/fix-766
Remove double escaping in templates
2 parents e94ee9e + 7312562 commit 801086c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"require": {
2626
"php": ">=7.2",
27-
"cakephp/cakephp": "^4.0",
27+
"cakephp/cakephp": "^4.1",
2828
"cakephp/chronos": "^2.0",
2929
"composer/composer": "^1.3",
3030
"jdorn/sql-formatter": "^1.2"

templates/element/environment_panel.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<?php foreach ($app as $key => $val): ?>
4040
<tr>
4141
<td><?= h($key) ?></td>
42-
<td><?= h(Debugger::exportVar($val)) ?></td>
42+
<td><?= Debugger::exportVar($val) ?></td>
4343
</tr>
4444
<?php endforeach; ?>
4545
</tbody>
@@ -64,7 +64,7 @@
6464
<?php foreach ($cake as $key => $val): ?>
6565
<tr>
6666
<td><?= h($key) ?></td>
67-
<td><?= h(Debugger::exportVar($val)) ?></td>
67+
<td><?= Debugger::exportVar($val) ?></td>
6868
</tr>
6969
<?php endforeach; ?>
7070
</tbody>
@@ -140,7 +140,7 @@
140140
<?php foreach ($hidef as $key => $val): ?>
141141
<tr>
142142
<td><?= h($key) ?></td>
143-
<td><?= h(Debugger::exportVar($val)) ?></td>
143+
<td><?= Debugger::exportVar($val) ?></td>
144144
</tr>
145145
<?php endforeach; ?>
146146
</tbody>

0 commit comments

Comments
 (0)