Skip to content

Commit 7ea0033

Browse files
committed
Add db escape value (4.8.6)
1 parent f17bf64 commit 7ea0033

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tags/learning/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,9 @@ Will output:
467467
`escape="url"`
468468
: URL-encode all characters except `.-_`.
469469

470+
`escape="db"` <span class="footnote warning">v4.8.6+</span>
471+
: Encode the content so it can safely be used as part of a database query.
472+
470473
`escape="json"`
471474
: JSON-encode, without the surrounding `""` quotes.
472475

0 commit comments

Comments
 (0)