From 3de343258025189526c63cdb0bc4b6ab9aa9b3b5 Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Thu, 2 Jan 2020 20:02:14 -0500 Subject: [PATCH] XEP-0393: make span rules match examples Previously the styling directive rules indicated that the opening styling directive must be preceded by whitespace or be the beginning of the line, however, this meant that a later example was incorrect as it showed bold and monospace text starting with *` (the second styling directive is preceded by the first, not whitespace). Allowing styling directives to immediately follow other styling directives fixes this oversight. --- xep-0393.xml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/xep-0393.xml b/xep-0393.xml index d5b76d08..774bf9dd 100644 --- a/xep-0393.xml +++ b/xep-0393.xml @@ -25,6 +25,17 @@ styling &sam; + + 0.2.1 + 2020-01-02 + ssw + +

+ Make rules consistent with examples that show multiple styling + directives being applied to the same text. +

+
+
0.2.0 2019-09-02 @@ -315,8 +326,9 @@

Matches of spans between two styling directives MUST contain some text - between the two styling directives and the opening styling directive MUST - be located at the beginning of the line, or after a whitespace character. + between the two styling directives and the opening styling directive + MUST be located at the beginning of the line, after a whitespace + character, or after a different opening styling directive. The opening styling directive MUST NOT be followed by a whitespace character and the closing styling directive MUST NOT be preceeded by a whitespace character.