[Templates-cvs] cvs commit: Template2/docsrc/src/Modules/Template Constants.tt2
cvs@template-toolkit.org
cvs@template-toolkit.org
cvs 06/05/25 08:22:34
Modified: docsrc/src/Modules/Template Constants.tt2
Log:
Applied Paul Seamon's CHOMP patch
Revision Changes Path
1.3 +3 -1 Template2/docsrc/src/Modules/Template/Constants.tt2
Index: Constants.tt2
===================================================================
RCS file: /template-toolkit/Template2/docsrc/src/Modules/Template/Constants.tt2,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Constants.tt2 2002/08/08 11:19:41 1.2
+++ Constants.tt2 2006/05/25 08:22:34 1.3
@@ -54,8 +54,10 @@
:chomp # for PRE_CHOMP and POST_CHOMP
CHOMP_NONE # do not remove whitespace
- CHOMP_ALL # remove whitespace
+ CHOMP_ONE # remove whitespace to newline
+ CHOMP_ALL # old name for CHOMP_ONE (deprecated)
CHOMP_COLLAPSE # collapse whitespace to a single space
+ CHOMP_GREEDY # remove all whitespace including newlines
:debug
DEBUG_OFF # do nothing