From 8e8af407a9174a6ed7ffbf16950431e1c19bc55e Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Thu, 1 Dec 2016 13:13:28 -0600 Subject: [PATCH] XEP-0071: Inline external image Update DTD to match --- xep-0071.xml | 2 +- xep.dtd | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/xep-0071.xml b/xep-0071.xml index 487f23c3..84dcf9d3 100644 --- a/xep-0071.xml +++ b/xep-0071.xml @@ -653,7 +653,7 @@

This could be rendered as follows:

Hey, are you licensed to Jabber?

-

A License to Jabber

+

A License to Jabber

Note the large size of the image. Including the 'height' and 'width' attributes is therefore quite friendly, since it gives the receiving application hints as to whether the image is too large to fit into the current interface (naturally, these are hints only and cannot necessarily be relied upon in determining the size of the image).

Rendering the 'alt' value rather than the image would yield something like the following:

diff --git a/xep.dtd b/xep.dtd index 9948b3b4..c9d4ba52 100644 --- a/xep.dtd +++ b/xep.dtd @@ -88,11 +88,11 @@ THE SOFTWARE. - + - + @@ -105,7 +105,8 @@ THE SOFTWARE. + style CDATA '' + type CDATA '' > - + + +