-
flow
"Authors: Lance Stout , JC Brand" why is there an extra space before the comma?
-
jonas’
URL?
-
jonas’
probably XSL bug
-
flow
jonas’, i think it's a css bug
-
jonas’
maybe
-
jonas’
URL?
-
flow
affecting all the xeps
-
jonas’
I don’t want to go through all the XEPs to find one with >1 author, please
-
jonas’
you seem to know at least one affected
-
flow
jonas’, I think you can select a random xep with multiple authors
-
jonas’
aaaaaaaaaaaaaaaaa
-
flow
waaaaaaaaaa
-
jonas’
I don’t know a single XEP off the top of my head with >1 author
-
jonas’
and it’s not visbile in the extension list
-
flow
424
-
jonas’
thanks
-
jonas’
XSL bug
-
jonas’
thanks, looking into it
-
flow
doesn't the xsl just build an html list?
-
jonas’
yes
-
jonas’
it adds spaces between the <li/> tho
-
jonas’
cause bug
-
flow
curious to see the fix, as I only see the space introduced between firstname and surname in the xsl
-
jonas’
yeah
-
jonas’
not quite sure yet where it comes from
-
jonas’
(to be clear: the "space" is the newline between the <li/> element?)✎ -
jonas’
(to be clear: the "space" is the newline between the <li/> elements) ✏
-
jonas’
eh, also, we’re claiming XHTML, but writing HTML :/
-
pep.
:(((
-
jonas’
but that’s a different hill to work on
-
pep.
sure
-
jonas’
I blame the xsltproc html writer
-
pep.
We're probably not serving the correct mime type though right? Otherwise we'd be seeing xml errors?
-
jonas’
we’re not serving any Content-Type header
-
jonas’
ah, we are
- jonas’ slaps firefox
-
jonas’
it’s of course text/html
-
pep.
:x
-
pep.
Ok so we're "not" doing xhtml :)
-
flow
like everybody else ;)
-
jonas’
flow, except that we claim XHTML in the doctype
-
flow
pfff, doctype…
-
flow
do browsers even look at this?
-
flow
but yes, should definelty be fixed either way
-
jonas’
going to fix both
-
pep.
I used to do <!DOCTYPE html><html xml:lang="en">..</html> declared as application/xhtml+xml
-
pep.
on a previous static website
-
Link Mauve
pep., with this doctype you can use either MIME types.
-
pep.
sure
-
pep.
I like when my browser tells me what I'm doing wrong :x
-
pep.
Instead of trying to interpret stuff randomly
-
Link Mauve
Same, I use the same Content-Type as yours wherever I can.
-
jonas’
so the fix is to set indent='no' on xsl:output
-
pep.
it's been ages I haven't done xslt.. I should have a look again someday
-
jonas’
flow, https://github.com/xsf/xeps/pull/885 (cc @ pep.)
-
pep.
do you have a rendered version of a xep? /me pulls the change
-
jonas’
yeah sure, one sec
-
pep.
nvm
-
pep.
I'll do that locally so I can diff
-
jonas’
https://sotecware.net/files/xeps/xep-0424.html
-
jonas’
the diff won’t be pretty
-
jonas’
like, seriously not pretty
-
jonas’
due to indent='no'
-
pep.
I'm curious if the `indent='no'`is going to change much
-
pep.
right
-
jonas’
yes
-
jonas’
it removes all the linebreaks
-
pep.
yeah diff is a bit useless :x
-
pep.
I guess we'll see if that affects anything else?
-
jonas’
yupp
-
pep.
LGTM otherwise
-
jonas’
I’m going to put the html doctype on its own line tho
-
jonas’
updated the PR
-
pep.
ok
-
pep.
sure
-
jonas’
merged
-
pep.
Hmm, it does need to be on its own line no?
-
pep.
Just curious
-
jonas’
I think it does
-
pep.
k
-
flow
jonas’, thanks for the attribution :)
-
jonas’
thanks for finding it
-
flow
jonas’, and respect for finding *that* fix.
-
jonas’
so, it was clear that this was the newline between the <li/> elements being interpreted as whitespace as per HTML
-
jonas’
I’ve got some experience with messing with HTML ;)
-
jonas’
then it was just a question of how to make XSLT not emit that newline
-
flow
yep, if you do not know or think about '\n' being transformed to ' ', then you are probably lost on this one
-
pep.
flow, I would think that's one of the first thing you learn when doing html :x
-
pep.
also xml:space !
-
flow
pep., the time where I did html is more than a decade ago, so I either never know or forgot about it
-
flow
pep., xml:space?
-
pep.
hmm, I might be mistaken but isn't that related?
-
pep.
Or it's just a rule of html?
-
flow
dunno
-
pep.
https://www.w3.org/TR/REC-xml/#sec-white-space
-
pep.
using 'default' and not preserve
-
pep.
I'd like that xmpp use that explicitely :x
-
flow
do we? I assume whitespace to be preserved e.g. in </body>, or is this other whitespace?
-
pep.
Maybe it's declared in the RFCs, but I don't think I've seen any mention of that in XEPs
-
Link Mauve
jonas’, in HTML5, you don’t use <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> anymore but <meta charset="utf-8"/>
-
jonas’
Link Mauve, true!
-
jonas’
make a PR, while you’re at it
-
jonas’
? :)
-
Link Mauve
I have to send a letter to my UK bank, that’ll be a very good procrastination object!
-
pep.
nooo
-
pep.
so close yet so far
-
Link Mauve
jonas’, I… can’t find this element in the XSLT stylesheet.
-
jonas’
I’m scared that xsl:output generates it
-
Link Mauve
Me too.
-
jonas’
oh dear
-
jonas’
Link Mauve, try without encoding=''
-
jonas’
though I’d be hesitant to remove that again
-
jonas’
otherwise we have to sed it
-
pep.
ugh
-
jonas’
:D
-
Link Mauve
And add a normal <meta/> node?
-
jonas’
maybe
-
Link Mauve
While you’re at it, maybe merge #669.✎ -
Link Mauve
While you’re at it, maybe merge https://github.com/xsf/xmpp.org/pull/669 ✏
-
jonas’
I don’t have +w there anymore
-
Link Mauve
Ah.
-
jonas’
otherwise I would’ve
-
pep.
I do, but I don't think I should (just because I'm board)
-
Link Mauve
That doesn’t sound like a thing that is wanted.
-
pep.
merged. xsf/xmpp.org stuff belongs to commteam now though
-
Link Mauve
Also, meh, #879 didn’t reach Council.
-
Link Mauve
Despite it being quite trivial.
-
jonas’
Link Mauve, it did
-
jonas’
everyone voted +1 on it
-
jonas’
I’m not sure why you think it didn’t, because it was both on the agenda and discussed in the meeting
-
Link Mauve
Ah, it wasn’t in the minutes.
-
jonas’
there haven’t been any minutes sent yet?
-
jonas’
those are from last week
-
Link Mauve
Oh, it was for last week.
-
Link Mauve
Nvm then. :)