RTL text not displayed correctly in search results

In the search results, the sentence text is always displayed as left-to-right even when the contents are right-to-left. Here’s a screenshot:

The text should be aligned with the right-hand side of the field, and the final punctuation marks should appear at the end (that is, at the left).