mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 05:53:58 +02:00
Respect the strip_results parameter in unsafe_format. No one uses it so there isn't any rush to incorporate this push.
This commit is contained in:
parent
c018244afe
commit
324a84f096
1 changed files with 1 additions and 1 deletions
|
|
@ -506,7 +506,7 @@ def unsafe_format(self, fmt, kwargs, book, strip_results=True):
|
|||
self.book = book
|
||||
self.composite_values = {}
|
||||
self.locals = {}
|
||||
return self.evaluate(fmt, [], kwargs).strip()
|
||||
return self.evaluate(fmt, [], kwargs)
|
||||
|
||||
########## a formatter guaranteed not to throw an exception ############
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue