From c450306d7561d56a3be30e7bbc8362833166625a Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Thu, 14 Apr 2011 20:23:57 +1200 Subject: [PATCH] 5917 Fix for updating/creating .po files --- misc/translator/TTParser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/translator/TTParser.pm b/misc/translator/TTParser.pm index d5895add34..dc2b147555 100755 --- a/misc/translator/TTParser.pm +++ b/misc/translator/TTParser.pm @@ -41,7 +41,7 @@ sub build_tokens{ $self->handler(text => "text", "self, line, text, is_cdata"); #signature is text( self, linenumber, origional text, is_cdata ) $self->handler(end => "end", "self, line, tag, attr, text"); #signature is end( self, linenumber, tagename, origional text ) $self->handler(declaration => "declaration", "self, line, text, is_cdata"); # declaration - $self->handler(comment => "comment", "self, line, text, is_cdata"); # comments +# $self->handler(comment => "comment", "self, line, text, is_cdata"); # comments # $self->handler(default => "default", "self, line, text, is_cdata"); # anything else $self->marked_sections(1); #treat anything inside CDATA tags as text, should really make it a TmplTokenType::CDATA $self->unbroken_text(1); #make contiguous whitespace into a single token (can span multiple lines) -- 2.20.1