From c5f85cba0d869a432a0c8df66f915b11aff33684 Mon Sep 17 00:00:00 2001
From: Sam Whited
Date: Fri, 12 Jan 2018 12:19:48 -0600
Subject: [PATCH] XEP-0393: update glossary/security considerations
---
xep-0393.xml | 218 +++++++++++++++++++++++++++++----------------------
1 file changed, 125 insertions(+), 93 deletions(-)
diff --git a/xep-0393.xml b/xep-0393.xml
index 0144c3d3..45701a8a 100644
--- a/xep-0393.xml
+++ b/xep-0393.xml
@@ -25,6 +25,17 @@
styling
&sam;
+
+ 0.1.1
+ 2018-01-12
+ ssw
+
+
+ Minor clarifications and updates, add security considerations, and
+ expand the glossary.
+
+
+
0.1.0
2017-11-22
@@ -95,6 +106,20 @@
The term "formatted text" is defined in &rfc7764;.
+
+ - Block
+ -
+ Any chunk of text that can be parsed unambiguously in one pass.
+ Blocks may contain one or more children which may be other blocks or
+ spans.
+ For example:
+
+ - A single line of text comprising one or more spans
+ - A block quotation
+ - A preformatted code block
+
+
+
- Formal markup language
-
@@ -110,6 +135,37 @@
the text by computer programs.
+
+ - Span
+ -
+ A group of text that is rendered inline and where the entire group is
+ rendered in the same manner.
+ Spans may be either plain text with no formatting applied, or may be
+ formatted text that is enclosed by two styling directives.
+ Spans are always children of blocks and may not escape from their
+ containing block.
+ The following all contain spans marked by parenthesis:
+
+ - (plain span)
+ - (*strong span*)
+ - (_emphasized span_)
+ - (_emphasized span containing (*strong span*)_)
+ - (span one )(*span two*)
+
+
+
+
+ - Styling directive
+ -
+ A character or set of characters that indicates the beginning of a span
+ or block.
+ For example, in certain contexts the characters '*' (U+002A ASTERISK),
+ and '_' (U+005F LOW LINE) may be styling directives that indicate the
+ beginning of a strong or emphasis span and the string '```' (U+0060
+ GRAVE ACCENT) may be a styling directive that indicate the beginning of
+ a preformatted code block.
+
+
- Whitespace character
-
@@ -136,32 +192,7 @@
-
-
- A block is any chunk of text that can be parsed unambiguously in one pass.
-
-
- - A single line of text comprising one or more spans
- - A block quotation
- - A preformatted code block
-
-
-
- A span is a group of text that is rendered inline and where the entire
- group is rendered in the same manner.
- Spans may be either plain text with no formatting applied, or may be
- formatted text that is enclosed by two styling directives.
- Spans may not escape from their containing block.
- The following all contain spans marked by parenthesis:
-
-
- - (plain span)
- - (*strong span*)
- - (_emphasized span_)
- - (_emphasized span containing (*strong span*)_)
- - (span one )(*span two*)
-
Matches of spans between two styling directives MUST contain some text
between the two styling directives and the opening styling directive MUST
@@ -198,72 +229,73 @@
- **
- ****
-
-
-
- Text enclosed by '*' (U+002A ASTERISK) is strong SHOULD be displayed as
- bold.
-
-
+
+ Text enclosed by '*' (U+002A ASTERISK) is strong SHOULD be displayed as
+ bold.
+
+
The full title is "Twelfth Night, or What You Will" but
*most* people shorten it.