-
Sam
The original intent was that it would be a quoted :( because it simplifies parsing for reasons that don't really matter (it lets you do >> and have it be a nested quote instead of having to do > > whatever)
-
Sam
But yah, the text is confusing on re-reading it, my bad
-
Sam
Though I think technically correct (the best kind of correct).
-
lovetox
so its a quote, i implemented it that way
-
lovetox
thanks
-
Sam
Sure; thanks for pointing that out, I'll see about drafting a slight tweak to the text that clarifies it
-
Sam
If you're doing an implementation, I've got a big JSON file full of unit tests somewhere you're welcome to borrow
-
lovetox
my impl is old and works, according to spec, as we just found out :D
-
lovetox
a user thought this must be a bug
-
Sam
Yah, in retrospect maybe that one would have been better with the space and just make the parsing slightly more complicated to allow >>
-
lovetox
for quoting the styling xep is only a bad workaround
-
Sam
I think it's useful for quotes you type, eg. I copy/paste things out of a newspaper article, but for quoting other messages there should be something complementary
-
Sam
complimentary, even
-
lovetox
hm yeah true never thought of that
-
lovetox
sometimes you need to quote something which is not another message
-
lovetox
though these things will usually not start with a angry smiley
-
Sam
Or eg. you press the block quote button on your clients toolbar. But yah, if you right click another message and hit "quote" I think that's something else
-
Sam
I mean, you could obviously implement that second thing with this, but I don't think it's what users expect
-
lovetox
Sam follow up question
-
lovetox
can a message consist of a single line that is a quote
-
lovetox
because technically someone could argue this is not allowed
-
lovetox
> 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).
-
lovetox
there is no newline, and also no parent block
-
lovetox
which would also mean, a quote can never end a message
-
Sam
There is a "root" empty parent, unsure if that is also underspecified or not because I'm not at my desk, but I think it says that everything is always in a block somewhere
-
lovetox
nah sorry cant find that, you may add this to the list of things to improve
-
u
hello