Edgewall Software

Changes between Version 14 and Version 15 of TracDev/PortingFromGenshiToJinja


Ignore:
Timestamp:
Feb 26, 2016, 12:50:10 AM (8 years ago)
Author:
Christian Boos
Comment:

fix note about escape, following the bug fix (we really need the old behavior)

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PortingFromGenshiToJinja

    v14 v15  
    704704from trac.util.html import escape
    705705}}}
    706 Note that in a similar way to `Markup`, `escape` now also comes from `markupsafe`. It has a slightly different API from Genshi in that it will //always// escape the quotes. Though a bit unfortunate (for our unit-tests compatibility...), it's not a big deal and we adopt the new behavior, keeping the old API for backward compatibility but ignoring the `quotes` flag.
    707 
     706Note that in a similar way to `Markup`, `escape` now also comes from `markupsafe`.
    708707
    709708[[comment(//Sending notification e-mails//)]]