• Robert Knight's avatar
    Treat empty strings as unparsable instead of open page ranges · 76040e76
    Robert Knight authored
    Previously `pageLabelInRange` treated an empty label like a fully-open page
    range ("-"). Since a fully open range overlaps all other ranges, the function
    would always return true. Now it treats an empty string as an unparsable range
    and returns false.
    
    When filtering annotations, this change means that a page range filter will
    no longer match annotations without a page range.
    76040e76
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
karma.config.cjs Loading commit data...
tsconfig.json Loading commit data...