[Standards] Need sanity check on an example in XEP-0393: Message Styling

Sam Whited sam at samwhited.com
Mon Nov 9 18:29:58 UTC 2020


That wouldn't be a valid style either way per:

> the opening styling directive MUST be located at the beginning of the
> line, after a whitespace character, or after a different opening
> styling directive

Eg. a*text* wouldn't be valid, and if we've decided the initial star
isn't a valid styling directive  neither would **text* (which would just
be a plain span).

—Sam

On Mon, Nov 9, 2020, at 13:16, Tedd Sterr wrote:
>  I'm afraid this might still be a little ambiguous.
>
> *"Matches of spans between two styling directives MUST contain some
> text between the two styling directives, otherwise neither directive
> is valid."* So where does this leave "**text*" as an example? If
> 'neither directive is valid' does that mean the second asterisk
> wouldn't be a valid open simply because it wasn't a valid close when
> paired with the first?
>
> Should the implication be that "neither directive is valid when
> considering this sequence as a span," while still allowing the
> possibility of the second being an open for another span?
>
> _______________________________________________
> Standards mailing list Info:
> https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: Standards-
> unsubscribe at xmpp.org
> _______________________________________________
>

-- 
Sam Whited


More information about the Standards mailing list