瀏覽代碼

fixed doc comment

Johannes 14 年之前
父節點
當前提交
abe691a45d
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      Resources/doc/index.rst

+ 5 - 5
Resources/doc/index.rst

@@ -141,9 +141,9 @@ Customizing the Serialization Process
 
 
 There are several ways how you can customize the serialization process:
 There are several ways how you can customize the serialization process:
 
 
-    1. Using annotations (see below)
-    2. Implementing NormalizableInterface
-    3. Adding a Custom Normalizer
+1. Using annotations (see below)
+2. Implementing NormalizableInterface
+3. Adding a Custom Normalizer
 
 
 Wiring Custom Normalizers/Encoders
 Wiring Custom Normalizers/Encoders
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -152,13 +152,13 @@ If you want to add custom normalizers, or encoders, you simply have to implement
 either the ``JMS\SerializerBundle\Serializer\Normalizer\NormalizerInterface`` or
 either the ``JMS\SerializerBundle\Serializer\Normalizer\NormalizerInterface`` or
 the ``JMS\SerializerBundle\Serializer\Encoder\EncoderInterface`` interface.
 the ``JMS\SerializerBundle\Serializer\Encoder\EncoderInterface`` interface.
 
 
-For normalizers, you can then use the following tag:
+For normalizers, you can then use the following tag::
 
 
     <service id="my.custom.normalizer">
     <service id="my.custom.normalizer">
         <tag name="jms_serializer.normalizer" />
         <tag name="jms_serializer.normalizer" />
     </service>
     </service>
 
 
-For encoders, you also have to pass the format:
+For encoders, you also have to pass the format::
 
 
     <service id="my.custom.xml.encoder">
     <service id="my.custom.xml.encoder">
         <tag name="jms_serializer.encoder" format="xml" />
         <tag name="jms_serializer.encoder" format="xml" />