Is there some function in python for joining element.text with the same Element.tag names?
Example:
p>
some text
<i>(</i>
<i>something</i>
<i>something</i>
<i>)</i>
some text
<i>proň, zač</i>
the end of paragraph
</p>
What I want:
p>
some text
<i>(something something)</i>
some text
<i>proň, zač</i>
the end of paragraph
</p>