-
jjj333_p (any pronouns)
is there any way to escape styling characters in https://xmpp.org/extensions/xep-0393.html ?
-
vpzom
not really
-
jjj333_p (any pronouns)
unfortunate
-
singpolyma
you can use `<unstyled/>` but that's not well supported either
-
singpolyma
I do support it though
-
jjj333_p (any pronouns)
> you can use `<unstyled/>` but that's not well supported either eh i dont wanna unstyle the whole message, just deactivate one character ↺
-
singpolyma
the XEP suggests you could use invisible whitespace for that, but at that point maybe just switch to XHTML-IM to get full control
-
jjj333_p (any pronouns)
in this case im converting matrix html formatting to xep0393, and im trying to handle like if someone has an _ in their text inside an italic block
-
jjj333_p (any pronouns)
> the XEP suggests you could use invisible whitespace for that, but at that point maybe just switch to XHTML-IM to get full control hm thats actually a good idea, and i could use xhtml-im but the point is to make it match what most xmpp clients seem to render ↺
-
singpolyma
yeah, I do generate xep0393 from html for other clients, but for complex cases I sort of assume it's not going to be perfect
-
jjj333_p (any pronouns)
im pretty much exclusive to gajim at the moment (no android device) so i also dont have much real world testing for if the xhtml-im conversion is even right (though tbh i could probably just pass it on mostly raw and it be fine)
-
singpolyma
you could test with <https://app.cheogram.com> if you're interested in seeing that
-
jjj333_p (any pronouns)
eh probably not at the moment, id have to faf about with setting up a wellknown or whatever the http endpoint is, as it seems i still cant specify the raw websocket url
-
singpolyma
indeed
-
jjj333_p (any pronouns)
also my impression is that xhtml-im is not very common these days, but again that could be because i use only gajim
-
singpolyma
really depends which corner of the ecosystem you're in, yeah
-
singpolyma
I mean if you're getting HTML input already the conversion is pretty simple
-
jjj333_p (any pronouns)
> I mean if you're getting HTML input already the conversion is pretty simple thats kinda what i was thinking, id imagine i can just remove the things i need to remove, and at worst things that dont match will get flattened ↺
-
jjj333_p (any pronouns)
like <b> is <b>
-
jjj333_p (any pronouns)
is <code> a universal thing> thats the only one i can think of off the top of my head that might translate well
-
singpolyma
mostly you just need to make sure you convert to well-formed syntax (no mismatched end tags, /> for self closing tags)
👍 1 -
pounceandmiss2
does anything support https://xmpp.org/extensions/xep-0449.html ?
-
pounceandmiss2
I believe cheogram calls stickers something else - custom inline emojis. What is the xep for those?✎ -
pounceandmiss2
What's the xep for the inline images on cheogram ✏
-
pounceandmiss2
What's the xep for the inline images on cheogram? ✏
-
cal0pteryx
pounceandmiss2: https://xmpp.org/extensions/#xep-0449-implementations
-
singpolyma
> What's the xep for the inline images on cheogram? https://xmpp.org/extensions/xep-0071.html ↺
-
Cynthia
What's the xep for giant text
-
vpzom
probably just XHTML-IM? I haven't seen anything else that would affect text size
-
Cynthia
What's the xep known for security problems
-
singpolyma
All of them 🙂
-
Cynthia
My uhh client suddenly switched fonts
-
Cynthia
And UI styles
-
Cynthia
For no reason whatsoever
-
Cynthia
This message has been retracted by the sender.
-
Cynthia
This message has been retracted by the sender.
-
Cynthia
This message has been retracted by the sender.