Skip to content

Commit

Permalink
Intermediate Commit (2017-10-16 8:42)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowdalic committed Oct 16, 2017
1 parent 4b6f280 commit b0cc8d6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions xep-bmh/xep-bmh.xml
Expand Up @@ -66,10 +66,13 @@

<section1 topic='Exchanging messages with markup formatted bodies' anchor='exchanging'>

<p>If the &BODY; element contains text which is "formatted" with a markup language, then the
sending client MAY adds a &lt;body-markup-hint/&gt; element qualified by the 'https://xmpp.org/extensions/bmh/0/'
namespace with the 'language' attribute set to the Language Identifier of the used markup
language.</p>
<p>If the textual content of a &MESSAGE; contains text which is enriched using a markup language,
then the sending client MAY adds a &lt;body-markup-hint/&gt; element qualified by the
'https://xmpp.org/extensions/bmh/0/' namespace with the 'language' attribute set to the Language
Identifier of the used markup language.</p>

<p>Note that textual content here means either the content found in &BODY; elements or the
encrypted textual content, which was encrypted using one of the methods described in &xep0380;</p>

<example caption='A message stanza with a body markup hint'><![CDATA[
<message from='holden@rocinante.example.org' to='naomi@rocinante.example.org'>
Expand Down

0 comments on commit b0cc8d6

Please sign in to comment.