Fix various XML issues

This commit is contained in:
Jonas Schäfer 2022-10-12 18:09:29 +02:00
parent 93a3b70196
commit 5600afd2ad
1 changed files with 5 additions and 5 deletions

View File

@ -69,7 +69,7 @@
</section2>
<section2 topic='Publishing a Post' anchor='publish'>
<p>The publication of a Post consist of a valid &rfc4287 entry embeded in a &xep0060; item.</p>
<p>The publication of a Post consist of a valid &rfc4287; entry embeded in a &xep0060; item.</p>
<p>The post content itself can be either text (content element without "type" attribute or with "type" attribute with "text" value) or XHTML ("content" element "type" attribute with "xhtml" value). If Romeo publishes XHTML content, his client MUST publish two "content" elements: a text one, and a XHTML one. For XHTML publishing, see &xep0060;.</p>
<example caption="Publishing a post">
<![CDATA[
@ -316,7 +316,7 @@
<li>The "pubsub#deliver_payloads" SHOULD be set to `false`. The social content can be quite large so it is advised to let the clients to manually query the content if it is not already cached.</li>
</ol>
</section3>
</secion2>
</section2>
<section2 topic="Microblog profile" anchor="profile_microblog">
<p>This profile is defined by the PubSub type `urn:xmpp:microblog:0` as defined in &xep0277; and MUST be created and configured under the PEP `urn:xmpp:microblog:0` node.</p>
@ -331,7 +331,7 @@
<li>The "pubsub#access_model" SHOULD be set to `presence` by default to allow the other presence JIDs to receive the newly published elements without an explicit subscription (using the +notify feature of &xep0163;).</li>
</ol>
</section3>
</section>
</section2>
<section2 topic="Gallery profile" anchor="profile_gallery">
<p>This profile is defined by the PubSub type `urn:xmpp:gallery:0` and can be hosted on any PubSub service.</p>
@ -341,7 +341,7 @@
<link rel='enclosure' href='https://capulet.lit/upload/romeo.jpg' type='image/jpeg' title='Romeo Portrait'/>
]]>
</example>
</section>
</section2>
</section1>
<section1 topic='Security Considerations' anchor='security'>
@ -366,4 +366,4 @@
</p>
</section1>
</xep>
</xep>