Changes between Version 14 and Version 15 of TracDev/PortingFromGenshiToJinja
- Timestamp:
- Feb 26, 2016, 12:50:10 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/PortingFromGenshiToJinja
v14 v15 704 704 from trac.util.html import escape 705 705 }}} 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 706 Note that in a similar way to `Markup`, `escape` now also comes from `markupsafe`. 708 707 709 708 [[comment(//Sending notification e-mails//)]]