anthonynosek / sprint-reader-chrome

A speed reading Google Chrome extension (via Rapid Serial Visual Presentation).
Other
219 stars 54 forks source link

The option to split hyphenated words does not catch all characters used as hyphens. #29

Open iveskins opened 6 years ago

iveskins commented 6 years ago

for example. for the text " sounds successively—that is" When I enable the split hyphenated words option, I would expect four tiles

sounds successively that is

But I got

sounds successively—that is

I think the code in engine,js arround if (textOnSlide.indexOf("-") !== -1) { could be changed to include all these characters

-
–
—