comparison ChangeLog @ 658:a445c9e5ee96

The `TextSerializer` class no longer strips all markup in text by default, so that it is still possible to use the Genshi `escape` function even with text templates. The old behavior is available via the `strip_markup` option of the serializer. Closes #146.
author cmlenz
date Thu, 22 Nov 2007 22:07:15 +0000
parents 69b3b6ca968b
children 75795aadf920
comparison
equal deleted inserted replaced
657:69b3b6ca968b 658:a445c9e5ee96
27 template should only be applied once to a stream, or when it should not be 27 template should only be applied once to a stream, or when it should not be
28 applied recursively. 28 applied recursively.
29 * Text templates now default to rendering as plain text; it is no longer 29 * Text templates now default to rendering as plain text; it is no longer
30 necessary to explicitly specify the "text" method to the `render()` or 30 necessary to explicitly specify the "text" method to the `render()` or
31 `serialize()` method of the generated markup stream. 31 `serialize()` method of the generated markup stream.
32 * XInclude elements in markup templates now support the `parse` attribute; when 32 * XInclude elements in markup templates now support the `parse` attribute;
33 set to "xml" (the default), the include is processed as before, but when set 33 when set to "xml" (the default), the include is processed as before, but
34 to "text", the included template is parsed as a text template using the new 34 when set to "text", the included template is parsed as a text template using
35 syntax (ticket #101). 35 the new syntax (ticket #101).
36 * Python code blocks inside match templates are now executed (ticket #155). 36 * Python code blocks inside match templates are now executed (ticket #155).
37 * The template engine plugin no longer adds the `default_doctype` when the 37 * The template engine plugin no longer adds the `default_doctype` when the
38 `fragment` parameter is `True`. 38 `fragment` parameter is `True`.
39 * The `striptags` function now also removes HTML/XML-style comments (ticket 39 * The `striptags` function now also removes HTML/XML-style comments (ticket
40 #150). 40 #150).
41 * The `py:replace` directive can now also be used as an element, with an 41 * The `py:replace` directive can now also be used as an element, with an
42 attribute named `value` (ticket #144). 42 attribute named `value` (ticket #144).
43 * The `TextSerializer` class no longer strips all markup in text by default,
44 so that it is still possible to use the Genshi `escape` function even with
45 text templates. The old behavior is available via the `strip_markup` option
46 of the serializer (ticket #146).
43 47
44 48
45 Version 0.4.4 49 Version 0.4.4
46 http://svn.edgewall.org/repos/genshi/tags/0.4.4/ 50 http://svn.edgewall.org/repos/genshi/tags/0.4.4/
47 (Aug 14, 2007, from branches/stable/0.4.x) 51 (Aug 14, 2007, from branches/stable/0.4.x)
Copyright (C) 2012-2017 Edgewall Software