Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit627e1a0

Browse files
committed
Use a better escaping mechanism for data-prototype attr
1 parent90a2922 commit627e1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cookbook/form/form_collections.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ new "tag" forms. To render it, make the following change to your template:
304304

305305
..code-block::html+twig
306306

307-
<ul data-prototype="{{ form_widget(form.tags.vars.prototype)|e }}">
307+
<ul data-prototype="{{ form_widget(form.tags.vars.prototype)|e('html_attr') }}">
308308
...
309309
</ul>
310310

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp