Opened 17 years ago

Closed 17 years ago

#5301 closed (duplicate)

blocktrans fails with %

Reported by: Can Burak Cilingir <canburak@…> Owned by: Adrian Holovaty
Component: Template system Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

{% blocktrans %}{{discount}}&#37; discount{% endblocktrans %}

works. but

{% blocktrans %}{{discount}}% discount{% endblocktrans %}

throws TypeError("not enough arguments for format string")

Change History (1)

comment:1 by John Shaffer <jshaffer2112@…>, 17 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #4982.

Note: See TracTickets for help on using tickets.
Back to Top