Commit 2448bc52 authored by Robert Knight's avatar Robert Knight

Add a note about a known issue with URL matching

parent 91a563e1
......@@ -22,6 +22,8 @@ export function annotationMatchesSegment(
}
return Boolean(
// nb. The URL comparison here assumes that both URLs are either absolute
// or relative to the same root.
(segment.url && selector.url === segment.url) ||
(segment.cfi &&
selector.cfi &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment