Willa-Cather-Archive / annotonia-converter

Alters Cather TEI letters with annotations from the annotonia
2 stars 0 forks source link

Improve xpath highlight mismatch searching #14

Open techgique opened 7 years ago

techgique commented 7 years ago

If the highlight text identified by the xpath element and range don't match the annotation quote, we search the xpath element for the quote verbatim. We might be able to save time manually handling when the quote can't be found verbatim by: