We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2abd7b8 commit 1f98cceCopy full SHA for 1f98cce
1 file changed
user_guide_src/source/tutorial/news_section.rst
@@ -144,10 +144,10 @@ and add the next piece of code.
144
145
.. literalinclude:: news_section/005.php
146
147
-.. note:: We are again using using ``esc()`` to help prevent XSS attacks.
+.. note:: We are again using using :php:func:`esc()` to help prevent XSS attacks.
148
But this time we also passed "url" as a second parameter. That's because
149
attack patterns are different depending on the context in which the output
150
- is used. You can read more about it :doc:`here </general/common_functions>`.
+ is used.
151
152
Here, each news item is looped and displayed to the user. You can see we
153
wrote our template in PHP mixed with HTML. If you prefer to use a template
0 commit comments