Do you mean they are inserted into the source as "ó" and so
the user sees, literally, "ó"?
> If also tried using the safe template filter tag but to no avail.
>
> "Problemas para el Inicio de Sesión o relacionados con la
> Cuenta"
>
>
> I'm sure I'm doing something silly, but having tried a number of
> options, I need a fresh viewpoint. Could anyone suggest how I might
> overcome the problem?
This could be a bug. Any strings provided by Django itself (and this
includes translated strings, although we don't make that clear in the
documentation) should be automatically considered "safe" in the
auto-escaping sense. That is, they should be inserted literally. If
we're auto-escaping them, it's a bug. I thought we'd flushed out all of
those cases; apparently not.
I'll make some time to investigate this a bit more, but if you can be
bothered to open a ticket describing the problem, that would be helpful
so that we don't forget it.
Regards,
Malcolm
I showed two possiblities. Which one is it? If the string is being
inserted as ó then there's no problem here.
Regards,
Malcolm
I had some time to test, using the example from #10449 and it is indeed
producing the incorrect result ("ó"). So we'll fix it at some
point.
Regards,
Malcolm