Quote:
Originally Posted by kovidgoyal
The eval() function docstring has a space after the { which is why it doesn't trigger the problems.
|
Yes, that may be.
Quote:
If this is the only string where you have a problem simply special case it, make it something like
val = _('<span %(code)s>{}</span> and <span %(code)s>{}</span>').format('@{@', '@}@')
|
That was my plan B, yes. But first I wanted to make sure what happening and why. Thanks.