Skip to content

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
No escape chars in code sample
  • Loading branch information
andersmateusz authored Sep 6, 2023
1 parent 19feb79 commit 80347d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Turbo/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ to ``turbo_stream_listen()``:

.. code-block:: html+twig

<div id="messages" {{ turbo_stream_listen('App\Entity\Book', 'hub2') }}></div>
<div id="messages" {{ turbo_stream_listen('App\\Entity\\Book', 'hub2') }}></div>

Registering a Custom Transport
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 80347d8

Please sign in to comment.