Ticket #16071: 16071.fixampersands-doc.2.diff

File 16071.fixampersands-doc.2.diff, 838 bytes (added by Julien Phalip, 13 years ago)

Fixed typo

  • docs/ref/templates/builtins.txt

    diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
    index 3b650f1..63b71bc 100644
    a b For example::  
    15101510
    15111511If ``value`` is ``Tom & Jerry``, the output will be ``Tom & Jerry``.
    15121512
     1513However, ampersands used in named entities and numeric character references
     1514will not be replaced. For example, if ``value`` is ``Café``, the output
     1515will *not* be ``Caf&eacute&`` but remain ``Café``. This means that
     1516in some edge cases, such as acronyms followed by semicolons, this filter will
     1517not replace ampersands that need replacing. For example, if ``value`` is
     1518``Contact the R&D;``, the output will remain unchanged because ``&D;``
     1519resembles a named entity.
     1520
    15131521.. templatefilter:: floatformat
    15141522
    15151523floatformat
Back to Top