Treora/quoteurl

Disambiguate between quotes

Opened this issue · 0 comments

When selected text appears multiple times, simply quoting the exact text is insufficient. Such a situation could be detected and acted upon while creating the URL. The TextQuoteSelector supports specifying a prefix and suffix text to disambiguate. Another approach is to combine the quote with different selector types; a TextPositionSelector would work, and noting the closest named anchor would also prevent some ambiguities.