View Single Post
Old 10-18-2021, 05:21 AM   #36
firsikov
Junior Member
firsikov began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2021
Device: Kindle Voyager
Quote:
Originally Posted by Brett Merkey View Post
@firsikov:
Using regex can be difficult and tricky at times. Consider another way to accomplish the same thing, without changing the HTML code.

What you seem to want is to control the look of text within a particular type of blockquote. Consider using CSS contextual styles:

Code:
blockquote.email p.text {put your desired styles here}
This form of style selector will only affect the precise text you want to change.
This was the first thought that came to my mind. But for some reason it didn't help. The point is that the p.text style is already defined in the stylesheet earlier in a different way. It may be necessary to use Python here, but I'm not a programmer.
firsikov is offline   Reply With Quote