-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use nokogiri to process html, instead of regex
This allows us to handle the more complex case where table headings contain other markup (e.g. the heading might have an `<em>` tag, as per the test). It feels less hacky than using a regex, but it's quite a bit more code so I'm not 100% sure whether it's an improvement.
- Loading branch information
1 parent
3de782e
commit c7965e7
Showing
2 changed files
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters