소스 검색

fixed formatting

Johannes 13 년 전
부모
커밋
9b9b598b7e
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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 }}