I do not like the way format callbacks are currently handled. Instead of
having just one format callback, you should register different formatters. The
register call would take the name of a format and a function to call. This
method ultimately allows for greater code reuse in scripting languages.
This change would also mean that unregistered formats could be ignored and the
template processor could optionally output a warning for unregistered formats.
Original issue reported on code.google.com by rinehi...@gmail.com on 30 Jan 2011 at 4:00
Original issue reported on code.google.com by
rinehi...@gmail.com
on 30 Jan 2011 at 4:00