I have a document that contains
<text:p text:style-name="P417"><text:alphabetical-index-mark-start text:id="IMark522391580192"/><text:span text:style-name="T951">c</text:span><text:span text:style-name="T35">ompareSignalingGreater<text:line-break/></text:span><text:alphabetical-index-mark-end text:id="IMark522391580192"/><text:span text:style-name="T31">greater than</text:span></text:p>
The fact that <text:line-break/> is inside the alphabetical-index-mark yields a second index entry for “compareSignalingGreater”.
Shouldn’t LibreOffice normalize whitespace for the index (e.g. ignore line breaks and normal spaces at the end of the term, or move them after text:alphabetical-index-mark-end in the source)?