mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add prefix and suffix text to make text matching work
This commit is contained in:
parent
c0d5d12ec0
commit
7b79af481f
1 changed files with 7 additions and 1 deletions
|
|
@ -57,7 +57,13 @@ describe('parsePreparedContent', async () => {
|
|||
const html = `
|
||||
<html>
|
||||
<body>
|
||||
<span data-omnivore-highlight-start="true"></span>This is some text within the highlight markers<span data-omnivore-highlight-end="true"></span>
|
||||
<div>
|
||||
<div id='article-container'>
|
||||
some prefix text
|
||||
<span data-omnivore-highlight-start="true"></span>This is some text within the highlight markers<span data-omnivore-highlight-end="true"></span>
|
||||
some suffix text
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
`
|
||||
|
|
|
|||
Loading…
Reference in a new issue