pretty: Fix bug in truncation support for %>, %< and %><