Skip to content

Commit d696053

Browse files
committed
Add warning about FILTER_SANITIZE_STRING tag stripping behaviour
Integrates note 118186
1 parent cfe679c commit d696053

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

reference/filter/constants.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,12 @@
877877
use <function>htmlspecialchars</function> instead.
878878
</simpara>
879879
</warning>
880+
<warning>
881+
<simpara>
882+
The way this filter strips tags is not equivalent to
883+
<function>strip_tags</function>.
884+
</simpara>
885+
</warning>
880886
</listitem>
881887
</varlistentry>
882888
<varlistentry xml:id="constant.filter-sanitize-stripped">

0 commit comments

Comments
 (0)