Issue #22695: Fix rendering of the deprecated-removed role in HTML.

--HG--
branch : 3.4
Issue #22695: Fix rendering of the deprecated-removed role in HTML.