Fixed to remove trailing space on text components of inline references.