Browse Source

XEP-0297: Fix indentation in examples.

Emmanuel Gil Peyrot 2 years ago
parent
commit
301b3ca24f
1 changed files with 27 additions and 27 deletions
  1. 27
    27
      xep-0297.xml

+ 27
- 27
xep-0297.xml View File

@@ -91,35 +91,35 @@
91 91
   <section2 topic='Overview'>
92 92
   <p>Let us suppose that a Romeo receives a message from Juliet:</p>
93 93
     <example caption='Receiving a message'><![CDATA[
94
-      <message from='juliet@capulet.lit/orchard'
95
-               id='0202197'
96
-               to='romeo@montague.lit'
97
-               type='chat'>
98
-        <body>Yet I should kill thee with much cherishing.</body>
99
-        <mood xmlns='http://jabber.org/protocol/mood'>
100
-            <amorous/>
101
-        </mood>
102
-      </message>
94
+<message from='juliet@capulet.lit/orchard'
95
+         id='0202197'
96
+         to='romeo@montague.lit'
97
+         type='chat'>
98
+  <body>Yet I should kill thee with much cherishing.</body>
99
+  <mood xmlns='http://jabber.org/protocol/mood'>
100
+    <amorous/>
101
+  </mood>
102
+</message>
103 103
 ]]></example>
104 104
 
105 105
   <p>To forward this to Mercutio, Romeo would send a new message with a &lt;forwarded/&gt; payload of namespace 'urn:xmpp:forward:0'.</p>
106 106
     <example caption='Forwarding a message'><![CDATA[
107
-      <message to='mercutio@verona.lit' from='romeo@montague.lit/orchard' type='chat' id='28gs'>
108
-        <body>A most courteous exposition!</body>
109
-        <forwarded xmlns='urn:xmpp:forward:0'>
110
-          <delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:25Z'/>
111
-          <message from='juliet@capulet.lit/orchard'
112
-                   id='0202197'
113
-                   to='romeo@montague.lit'
114
-                   type='chat'
115
-                   xmlns='jabber:client'>
116
-              <body>Yet I should kill thee with much cherishing.</body>
117
-              <mood xmlns='http://jabber.org/protocol/mood'>
118
-                  <amorous/>
119
-              </mood>
120
-          </message>
121
-        </forwarded>
122
-      </message>
107
+<message to='mercutio@verona.lit' from='romeo@montague.lit/orchard' type='chat' id='28gs'>
108
+  <body>A most courteous exposition!</body>
109
+  <forwarded xmlns='urn:xmpp:forward:0'>
110
+    <delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:25Z'/>
111
+    <message from='juliet@capulet.lit/orchard'
112
+             id='0202197'
113
+             to='romeo@montague.lit'
114
+             type='chat'
115
+             xmlns='jabber:client'>
116
+      <body>Yet I should kill thee with much cherishing.</body>
117
+      <mood xmlns='http://jabber.org/protocol/mood'>
118
+        <amorous/>
119
+      </mood>
120
+    </message>
121
+  </forwarded>
122
+</message>
123 123
 ]]></example>
124 124
   </section2>
125 125
   <section2 topic='Business rules'>
@@ -149,9 +149,9 @@
149 149
     from='juliet@capulet.lit/balcony'
150 150
     id='info1'>
151 151
   <query xmlns='http://jabber.org/protocol/disco#info'>
152
-...
152
+    ...
153 153
     <feature var='urn:xmpp:forward:0'/>
154
-...
154
+    ...
155 155
   </query>
156 156
 </iq>]]></example>
157 157
   <p>Senders SHOULD NOT forward messages using this protocol to recipients that have not indicated support for it. However they may still

Loading…
Cancel
Save