XEP-0297: Fix indentation in examples.

This commit is contained in:
Emmanuel Gil Peyrot 2017-02-26 09:15:30 +00:00 committed by Sam Whited
parent 6c6d66208e
commit 301b3ca24f
1 changed files with 27 additions and 27 deletions

View File

@ -91,35 +91,35 @@
<section2 topic='Overview'> <section2 topic='Overview'>
<p>Let us suppose that a Romeo receives a message from Juliet:</p> <p>Let us suppose that a Romeo receives a message from Juliet:</p>
<example caption='Receiving a message'><![CDATA[ <example caption='Receiving a message'><![CDATA[
<message from='juliet@capulet.lit/orchard' <message from='juliet@capulet.lit/orchard'
id='0202197' id='0202197'
to='romeo@montague.lit' to='romeo@montague.lit'
type='chat'> type='chat'>
<body>Yet I should kill thee with much cherishing.</body> <body>Yet I should kill thee with much cherishing.</body>
<mood xmlns='http://jabber.org/protocol/mood'> <mood xmlns='http://jabber.org/protocol/mood'>
<amorous/> <amorous/>
</mood> </mood>
</message> </message>
]]></example> ]]></example>
<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> <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>
<example caption='Forwarding a message'><![CDATA[ <example caption='Forwarding a message'><![CDATA[
<message to='mercutio@verona.lit' from='romeo@montague.lit/orchard' type='chat' id='28gs'> <message to='mercutio@verona.lit' from='romeo@montague.lit/orchard' type='chat' id='28gs'>
<body>A most courteous exposition!</body> <body>A most courteous exposition!</body>
<forwarded xmlns='urn:xmpp:forward:0'> <forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:25Z'/> <delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:25Z'/>
<message from='juliet@capulet.lit/orchard' <message from='juliet@capulet.lit/orchard'
id='0202197' id='0202197'
to='romeo@montague.lit' to='romeo@montague.lit'
type='chat' type='chat'
xmlns='jabber:client'> xmlns='jabber:client'>
<body>Yet I should kill thee with much cherishing.</body> <body>Yet I should kill thee with much cherishing.</body>
<mood xmlns='http://jabber.org/protocol/mood'> <mood xmlns='http://jabber.org/protocol/mood'>
<amorous/> <amorous/>
</mood> </mood>
</message> </message>
</forwarded> </forwarded>
</message> </message>
]]></example> ]]></example>
</section2> </section2>
<section2 topic='Business rules'> <section2 topic='Business rules'>
@ -149,9 +149,9 @@
from='juliet@capulet.lit/balcony' from='juliet@capulet.lit/balcony'
id='info1'> id='info1'>
<query xmlns='http://jabber.org/protocol/disco#info'> <query xmlns='http://jabber.org/protocol/disco#info'>
... ...
<feature var='urn:xmpp:forward:0'/> <feature var='urn:xmpp:forward:0'/>
... ...
</query> </query>
</iq>]]></example> </iq>]]></example>
<p>Senders SHOULD NOT forward messages using this protocol to recipients that have not indicated support for it. However they may still <p>Senders SHOULD NOT forward messages using this protocol to recipients that have not indicated support for it. However they may still