Skip to content

Commit

Permalink
Merge pull request #19 from krackers/master
Browse files Browse the repository at this point in the history
Bug fixes for Webster entry detection
  • Loading branch information
jeffbyrnes committed Jul 12, 2020
2 parents ca2e965 + 1a77609 commit d3d429e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.ts
Expand Up @@ -252,9 +252,12 @@ function parseFile (file: string) {
if (ONLYWEBSTER) {
let src;
let p = el;
while (!src) {
while (!src || src.length == 0) {
src = p.find('source');
p = p.next();
if (p.length == 0) {
break;
}
}

if (src.text().trim() !== '1913 Webster' &&
Expand Down

0 comments on commit d3d429e

Please sign in to comment.