mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
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.
This commit is contained in:
parent
99587d7801
commit
3de3432580
16
xep-0393.xml
16
xep-0393.xml
@ -25,6 +25,17 @@
|
|||||||
<supersededby/>
|
<supersededby/>
|
||||||
<shortname>styling</shortname>
|
<shortname>styling</shortname>
|
||||||
&sam;
|
&sam;
|
||||||
|
<revision>
|
||||||
|
<version>0.2.1</version>
|
||||||
|
<date>2020-01-02</date>
|
||||||
|
<initials>ssw</initials>
|
||||||
|
<remark>
|
||||||
|
<p>
|
||||||
|
Make rules consistent with examples that show multiple styling
|
||||||
|
directives being applied to the same text.
|
||||||
|
</p>
|
||||||
|
</remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.2.0</version>
|
<version>0.2.0</version>
|
||||||
<date>2019-09-02</date>
|
<date>2019-09-02</date>
|
||||||
@ -315,8 +326,9 @@
|
|||||||
<section2 topic='Spans' anchor='span'>
|
<section2 topic='Spans' anchor='span'>
|
||||||
<p>
|
<p>
|
||||||
Matches of spans between two styling directives MUST contain some text
|
Matches of spans between two styling directives MUST contain some text
|
||||||
between the two styling directives and the opening styling directive MUST
|
between the two styling directives and the opening styling directive
|
||||||
be located at the beginning of the line, or after a whitespace character.
|
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
|
The opening styling directive MUST NOT be followed by a whitespace
|
||||||
character and the closing styling directive MUST NOT be preceeded by a
|
character and the closing styling directive MUST NOT be preceeded by a
|
||||||
whitespace character.
|
whitespace character.
|
||||||
|
Loading…
Reference in New Issue
Block a user