Skip to content

Instantly share code, notes, and snippets.

@pjlsergeant
Created March 26, 2012 15:21
Show Gist options
  • Select an option

  • Save pjlsergeant/2205853 to your computer and use it in GitHub Desktop.

Select an option

Save pjlsergeant/2205853 to your computer and use it in GitHub Desktop.
# Table parsing, old friend... We have spent many long evenings together,
# working through your broken tables, talking about your issues with
# implicit thead elements, and your quirky tr/th heuristics. But ... but
# but it's time for us to move on. We can't keep doing this. It's not you,
# it's me...
#
# I've ... I've met someone new. She's beautiful, she's modern, and she's
# elegant. She's logical, she's clean, and she's well-structured, if you
# know what I mean...
#
# She always puts a single tr in her thead's, and what's more, she's always
# got a thead. Her tbody's support her tr's, and she never forgets them.
# Life is simpler now. Better. Less miscommunication, fewer arguments over
# what defines a header row. Sometimes in lasts in parsing code, but
# sometimes, it hurts instead...
#
# IF YOU EXTEND THIS CODE TO SUPPORT YOUR BROKEN HTML TABLES I WILL FIND YOU
# AND YOU HAVE BEEN WARNED.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment