rNeomy / reader-view

Access Firefox's built in reader view from right click context menu
https://webextension.org/listing/chrome-reader-view.html
Mozilla Public License 2.0
464 stars 73 forks source link

Slight pause in TTS when reading italics #194

Closed A1244 closed 1 month ago

A1244 commented 1 month ago

Hi, I've been using your addon for years now and it has made reading so much better. There's a slight problem I'm having with italic font, when TTS reads it there is a slight pause before and after. I've tried adding code to the CSS for reader view and nothing has worked. Unfortunately reader view also prevents addons such as Stylus from working, I can change the font style on stylus but once I switch to reader view it goes back to italics. I've tried adding the below CSS but it does not work, any suggestions?

body { font-style: normal; }

Adding font-style: normal; anywhere else does not work either.

I would comment and ask on the homepage but the comment button does not work for me.

Edit - managed to remove the italics with the below CSS, but now each changed word acts as a new sentence causing the TTS to pause.

p em span { font-style: normal; }