1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 08:45:04 -05:00

XEP-0393: clarify quote termination and trimming

This commit is contained in:
Sam Whited 2019-09-02 15:13:25 -05:00
parent 21a8cd43d5
commit 0dc776ce33

View File

@ -25,6 +25,16 @@
<supersededby/> <supersededby/>
<shortname>styling</shortname> <shortname>styling</shortname>
&sam; &sam;
<revision>
<version>0.2.0</version>
<date>2019-09-02</date>
<initials>ssw</initials>
<remark>
<p>
Clarify block quote termination and white space trimming.
</p>
</remark>
</revision>
<revision> <revision>
<version>0.1.4</version> <version>0.1.4</version>
<date>2018-05-01</date> <date>2018-05-01</date>
@ -276,9 +286,12 @@
<p> <p>
A quotation is indicated by one or more lines with a byte stream A quotation is indicated by one or more lines with a byte stream
beginning with a '&gt;' (U+003E GREATER-THAN SIGN). beginning with a '&gt;' (U+003E GREATER-THAN SIGN).
They are terminated by the first new line that is not followed by a
greater-than sign, or the end of the parent block (whichever comes
first).
Block quotes may contain any child block, including other quotations. Block quotes may contain any child block, including other quotations.
Lines inside the block quote MUST have leading spaces trimmed before Lines inside the block quote MUST have the first leading whitespace
parsing the child block. character trimmed before parsing the child block.
It is RECOMMENDED that text inside of a block quote be indented or It is RECOMMENDED that text inside of a block quote be indented or
distinguished from the surrounding text in some other way. distinguished from the surrounding text in some other way.
</p> </p>