I have the next scenario
<blockquote>
<p>text text text</p>
<p>text text text</p>
<p><cite>author cite</cite></p>
</blockquote>
I am trying to select just the p
elements that are inside of blockquote
but not contain child cite
elements to add a "
before and after every p
element
my approach is
blockquote p:not(:has(> cite))::before,
blockquote p:not(:has(> cite))::after
{
content: '"';
}
but it is not working as it still has no support yet, anyone can give me a hand? Thank you in advance
EDIT:
I want to point, It is not possible to modify the HTML by adding some class to p
elements because the HTML is provided from a remote server.