XWIKI-7168: Annotation positioning issue with white space annotated text
- Annotations are only supported on non-empty text.

(cherry picked from commit afab3bfc0077a9d89732ad8838ffd7025bf651ce)