Hi
Most of the time - because there are some exceptions -, there should be a
matching pair, with an opening and a closing one. They should be "matched", which means also we should see two straight ones, sometimes two italic ones, but we should
not have a straight one on one side and an italic one on the other (or inversely

).
As I do not know how to solve this mistake with a word processor, it lands within the EPUB. It could be part of a larger problem because it interests potentially not only round brackets (parentheses) but maybe square, curly and angle brackets too.
Here is a text excerpt with some mistakes of this kind I'd like to know how to detect and/or correct. The culprit can be found three times after the word "Soir".
Code:
Charles Baudinat (de <i>France-Soir)</i>, Vladimir Bentz ŕ Berlin, Daničle Berthemet, Sabine Cayrol, Henriette Chandet (du fin fond de <i>Paris-Soir),</i> Jacques Chapus (<i>France Soir), </i>Jacques-Olivier Chatard ŕ Londres,
The correct form should be:
Code:
(de <i>France-Soir</i>),
Nota: Instead of<i> and </i> like here, we find often a span:
<span class="italic"> and </span>
Questions
How to detect an orphaned parenthesis?
How to detect an unmatched pair? (I mean both straight
and italic)