lib/text: do not replace undecoded `%` by `?`