#snarfedsooo ugly. honestly i can't realistically upgrade to the new mf2py with this behavior. i generally expect p-name to be human readable, but this often results in long ugly URLs included in names, which is not ok for bridgy, granary, or other downstream users
#sknebelso seems like my mistake mentioning it that nobody caught
#snarfedsounds like no one (here now at least) particularly wants to keep img srcs or alts in implied p-name
#snarfedshall we file an issue? or expand aaronpk's to include src?
#Zegnataaronpk, writes “It would only be included as part of implied values” ... so does that issue really want to even remove alt from the implied parsing?
mandy, [Mandy_Honeyman] and KartikPrabhu joined the channel
#KartikPrabhuthis can be fixed relatively easily in mf2py since my textContent basically has a flag for this which I can turn off
#ZegnatI am not sure how I feel about completely dropping alt. I kinda feel like the plain-text version of a thing including something that would also be read out loud by ATs makes sense.
#ZegnatBut maybe not for implied name specifically ...
#LoqiHello #doo #digped #edtechchat #ds106 #clmooc #engchat #literacies @scsu #ctu friends I am going to be hosting weekly #IndieWeb Blogging 101 session every Wednesday night starting at 8:30 (or closest to bedtime for kids what ever comes last) for the... https://media2.giphy.com/media/3otO6xQxvlzQAAyhLG/giphy.gif
#sknebelso where do we encounter implied name? are there actual cases outside h-cards? even very minimal h-entry note markup likely doesn't fall under implied name anymore, or is likely to look wrong
#ZegnatThat photo just happens to be part of the post content
#[jgmac1106]well if u-photo make loqi display it then, yes, yes I do. Just don't know if its correct
#[jgmac1106]would Loqi have pulled the image if it wasn't u-photo?
#ZegnatProbably not. Should it have? It isn’t supposed to be a photo post, right?
#sknebelso lets think about the h-card case, are there cases where we need the alt?
#Zegnatsknebel, I don’t have the data so I don’t know. For all I know, someone has done <a class="h-card" href="/"><img src="photo.jpg" alt="Martijn"></a>.
#ZegnatHaha, I thought you were surprisingly fast on the weird selector to refute me :P
#sknebelso would someone replace *part of* their name with an image?
#ZegnatYes. That would be the only reason. And I would tend to say “no”.
#ZegnatSo dropping images completely makes sense then
#sknebel(e.g. Twitter) usernames with emoji in them, with the emoji replaced with images. but there's a good chance the alt-text for the emoji is a textual description
#[jgmac1106]i think though in my note example I am missing h-entry. Not sure where gwg puts in on the note
#sknebelso no, *i* can't come up with a reason to keep alt there
#ZegnatEvery change we will ever do that touches on what we mean with textContent will break old examples, I think.
#ZegnatBut yeah, you have talked me ’round. Especially with only an IMG alt being covered by the algo already. (Which I hadn’t looked up yet. My mistake.)
#ZegnatAnd I would be opposed to introducing vocab aware parsing for explicit p-* to make “name” different
#ZegnatSo dropping alt/src from p-name === dropping alt/src from all plain text values.
#ZegnatAnd I feel like that is a pretty big change. And possibly not warranted.
#snarfedZegnat: ok. sorry, not sure what to tell you. i don't really deeply follow the details of the parsing spec. i'm just describing the behavior that's desirable and undesirable as a parser user.
#ZegnatYes, I understand. That is why I am asking for examples where explitic p-name is parsed against your expectation.
#sknebeloh, mf2py did indeed not do that before. awkward
#ZegnatBecause if that is a very rare occurance, I would keep the change to implied name only.
#snarfedi'd actually love to see counterexamples, ie where including img src in either name or content is useful or meaningful to human readers
#snarfedi expect they're very rare, if even any at all
#sknebelask aaronpk or tantek, that's older than my involvement with the community
#Loqi[Zegnat] To summarise the previous change: we normalised text parsing to use the exact same wording for `p-*`, `e-*`’s `value`, and implied name. Originally to make sure `<script>` and `<style>` tags would get correctly dropped everywhere, but in the end al...
#ZegnatAs someone who browses the web with images turned off, I have gotten used to seeing alt text. So I personally like that. src is indeed questionable.
#sknebeldepends what you do with it. if you autolink, you get to see the image in jgmacs post above at least as link, otherwise its gone completely
#ZegnatYep, which is why I am not opposed to making implicit and explicit name parsing different again, snarfed. But I don’t expect anyone to have ever written that HTML in the wild, is whay I am saying
#snarfedahhhh ok. so if the q is, find HTML in the wild where someone includes an img inside a p-name, then no, i don't have that offhand. i still don't get why we'd specify something we all pretty much agree is wrong, just because we think it's rare
#sknebeldo we agree its wrong? and unlike only reverting it for implied names, changing p- parsing globally would be a big change
#ZegnatNo, I think it is 100% right. I want to read alt text, just as I do in my day-to-day browsing.
#ZegnatI think there is a case for skipping it in implied name values, where the user hasn’t explicitly marked any HTML as expressing the name. I do not agree with dropping all mention of an image when it is part of, say, p-content
#snarfedheh. your day to day browsing is very unusual. may not be the best argument for how parsers should behave
#snarfedbut again, we're primarily talking about src here, not alt
#sknebelnote with an image. do you want to eliminate all traces of the image in it from the parser output?
#snarfedno clue. i'm not sure that adding the URL to content or name is net positive though.
#sknebelanyways, I'd say keep the current issue about implied p-name. we can probably quickly revert that everywhere, confident not to break anything
#sknebel(I just tested an older version of the php-parser, it did do it as spec-ed, so it's less likely anyone relied on mf2py's behavior of not following the spec there)
#ZegnatIt is interesting to me that mf2py never followed the spec on that point though.
#sknebelI really wish we had a list of examples that showed what case the rules are intended to cover
#ZegnatMy gut feeling is that it is unintended, yeah.
KartikPrabhu, snarfed, chrisaldrich, vivus, [cleverdevil], [chrisaldrich] and jalcine joined the channel; snarfed, KartikPrabhu and vivus left the channel