Skip to content

Commit a14ef03

Browse files
committed
Added attr context to writeup
1 parent c4185b1 commit a14ef03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

user_guide_src/source/general/view_renderer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Class Reference
9696

9797
$renderer->setData(['name'=>'George', 'position'=>'Boss']);
9898

99-
Supported escape contexts: html, css, js, url.
99+
Supported escape contexts: html, css, js, url, or attr or raw.
100100
If 'raw', no escaping will happen.
101101

102102
.. php:method:: setVar($name[, $value=null[, $context=null]])
@@ -111,6 +111,6 @@ Class Reference
111111

112112
$renderer->setVar('name','Joe','html');
113113

114-
Supported escape contexts: html, css, js, url, or raw.
114+
Supported escape contexts: html, css, js, url, attr or raw.
115115
If 'raw', no escaping will happen.
116116

0 commit comments

Comments
 (0)