#microformats 2018-10-19

2018-10-19 UTC
[cleverdevil], [dave], sebsel, [Rose], [Vanessa], [jgmac1106], [jeremycherfas], [kevinmarks], [Vincent], bradenslen, [eddie], [Khurt], tonz, jackjamieson and jgmac1106 joined the channel
#
Zegnat
Thanks to sknebel for pushing me to actually sit down and do this. He and I have gone over the WHATWG innerText algorithm and the W3C CSS Text Module together, and have written two independent implementations for getting plain text from HTML (PHP and Python).
#
Zegnat
Mine is now published at https://github.com/Zegnat/php-innertext and the README includes an annotated description of how the specs have been implied.
#
Loqi
[Zegnat] php-innertext: 🏃🐉 Run. Here be dragons.
#
Zegnat
We might want to make more tests (although test coverage is actually pretty good! Over 90%!) and discuss a few specific things (do we want to implement tables? how many line breaks after paragraph elements?)
#
Zegnat
And then I think we can start moving to getting this into the parsers. Because it treats block level elements etc all in one step it is a lot more generic than the previous algorithm.
#
Zegnat
is off to think about something else than collapsible whitespace for a little bit
jgmac1106, [jeremycherfas], [Rose], [eddie] and [schmarty] joined the channel
#
[schmarty]
This is amazing!
#
[schmarty]
Haha I’ve never seen that meme just come out 100% positive
#
gRegorLove
whoa, awesome!
#
gRegorLove
Zegnat++
#
Loqi
Zegnat has 21 karma in this channel over the last year (171 in all channels)
#
gRegorLove
sknebel++
#
Loqi
sknebel has 18 karma in this channel over the last year (80 in all channels)
jgmac1106, [kiai], j12t, gRegorLove, [jgmac1106], [schmarty], [eddie], [Khurt] and [cleverdevil] joined the channel