Fixes double escaping of HTML-safe strings by the truncate command

Resolves #13721