Explorar o código

fixed formatting

Johannes %!s(int64=13) %!d(string=hai) anos
pai
achega
9b9b598b7e
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      Resources/doc/index.rst

+ 1 - 2
Resources/doc/index.rst

@@ -117,9 +117,8 @@ The serializer supports JSON, and XML out-of-the-box, and can also handle
 many custom XML features (see below).
 
 The serializer can also be accessed via a Twig filter and will default to
-"json".
+"json"::
 
-::
     {{ myObject | serialize | raw }}
     {{ myObject | serialize('xml') | raw }}