Trailing space present in a Text node is considered as RTL text even when it is present in LTR text if the node orientation is RTL. In this case an extra space is rendered in the beginning.
If there is any other character like ":" before the space, the space is rendered between ":" and first character of LTR text and an extra space is rendered before the ":"
Screenshots and code to reproduce the issue is attached.
Expectation:
The trailing space should not be rendered between ":" and first character of LTR text and extra space should not be rendered before ":" similar to how it is handled in HTML. Example is attached.