I have a slide that look like
In my code I am serching for [textX] and replacing the match with data from database. If this approach is used on regular text within Paragraph everything works fine - both square brackets and text between them is found withing single paragraph portion. When same operation is performed on the bulleted text, I get a collection of 3 portions: one for "[", one for "textX", and one for "]".
What is the deal here and why the bulleted text treated differently from the regular one from the perspective of calculating Portions.