-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace job title div with anchor tag more reliably - Previously the substring indices were hardcoded assuming that the element would be the unmodified div tag. - However, the script might trigger twice on the same page thus replacing the same element twice even after it's been initially changed. - This just happened to have no breaking consequences since it cut the string in a way such that the beginning excess from the previous anchor tag was just ignored in the HTML element and the comments towards the end of the element were the only excess cut off. - However, that is very brittle and this regex matching is a much safer way to do this. It will only replace the div at the end and the beginning with the right information if it exists. So if it's called again, it will just return the unmodified string. * Bump version to 0.1.1
- Loading branch information
1 parent
fc0b797
commit f60cebf
Showing
5 changed files
with
8 additions
and
6 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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