English Wikipedia has an article on:

Sometimes, apostrophes may collide with certain characters such as lowercase dTemplate:-'s and lTemplate:-'s, especially after bold or italic text. This template is the same as {{'}} except that it inserts a small amount of space before the apostrophe to avoid such collisions.

Usage

You type You get
''Z''{{-'}}(''x'' + ''y'') ZTemplate:-'(x + y)
The ''Illiad''{{-'}}s vocabulary The IlliadTemplate:-'s vocabulary

Technical note

This template does not insert any semantically invalid whitespace characters, but does all the spacing visually only, in CSS.