Skip to content

Commit

Permalink
Trim examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Feb 15, 2024
1 parent 2da80d8 commit 06efebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Sandbox/templates/ToolsExamples/trim.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<p><?php echo $this->Html->link("'key' => ' Some value '", ['?' => ['key' => ' Some value '] + $this->request->getQuery()]); ?></p>
<p>Notice how the data is trimmed.</p>

<h5>Whitespace only</h5>
<h5>Whitespace only (1 space)</h5>
<p><?php echo $this->Html->link("['key' => ' ']", ['?' => ['key' => ' '] + $this->request->getQuery()]); ?></p>
<p>Notice how this doesnt trigger the if clause (as it should not).</p>

Expand Down

0 comments on commit 06efebc

Please sign in to comment.