From d8ea1b1784684e5c5e13d375be69e4b8650cf781 Mon Sep 17 00:00:00 2001 From: ureimers Date: Tue, 10 Dec 2013 11:19:22 +0100 Subject: [PATCH] Fixed rendering of ``-3`` The missing space between "``-3``" and "(this is just syntactic[...])" led to the ``-3`` being rendered wrong. The parser must've ignored the closing "``" when it was directly followed by a non-space character. --- doc/templates.rst | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/templates.rst b/doc/templates.rst index c0ea267..960d101 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -642,7 +642,7 @@ but exists for completeness' sake. The following operators are supported: ``4``. * ``//``: Divides two numbers and returns the floored integer result. ``{{ 20 - // 7 }}`` is ``2``, ``{{ -20 // 7 }}`` is ``-3``(this is just syntactic + // 7 }}`` is ``2``, ``{{ -20 // 7 }}`` is ``-3`` (this is just syntactic sugar for the :doc:`round` filter). * ``*``: Multiplies the left operand with the right one. ``{{ 2 * 2 }}`` would -- 1.7.2.5