Skip to content

Commit a1143dc

Browse files
committed
docs: change the body text to a warning
Because it is a security matter.
1 parent d622053 commit a1143dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

user_guide_src/source/outgoing/view_renderer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Class Reference
135135

136136
echo $view->renderString('<div>My Sharona</div>');
137137

138-
This could be used for displaying content that might have been stored in a database,
138+
.. warning:: This could be used for displaying content that might have been stored in a database,
139139
but you need to be aware that this is a potential security vulnerability,
140140
and that you **must** validate any such data, and probably escape it
141141
appropriately!

0 commit comments

Comments
 (0)