jeffp123 / spray

An open-source speed-reading application written in Javascript
66 stars 18 forks source link

Periods. #1

Open calumk opened 10 years ago

calumk commented 10 years ago

At least on chrome the code :

      if(allWords[i].indexOf('.') != -1){
        tmpWords[t] = allWords[i].replace('.', '•');
      }

is replacing all periods with the html? equivilent... but this is not displaying correcty. it is displaying as "&#8226" (which i guess is what i would expect from the code!)

remove it?

the-happy-hippo commented 10 years ago

@calumk - I second that on Chrome. the problem disappears if I replace the html code with the literal dot char. btw it wasn't an issue on Firefox.