From: Steinar H. Gunderson Date: Sun, 17 Jul 2005 10:47:36 +0000 (+0000) Subject: Use/support <_> and . X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=ff55c14b1f03015d95af6203edec4595bf6b583f Use/support <_> and . --- diff --git a/html/templates/player.tmpl b/html/templates/player.tmpl index b41aeb7..c136f34 100644 --- a/html/templates/player.tmpl +++ b/html/templates/player.tmpl @@ -3,10 +3,10 @@
diff --git a/html/templates/show-tournament.tmpl b/html/templates/show-tournament.tmpl index 291ccda..87d5518 100644 --- a/html/templates/show-tournament.tmpl +++ b/html/templates/show-tournament.tmpl @@ -3,12 +3,12 @@
diff --git a/intl/Sesse::GettextizeTemplates.pm b/intl/Sesse::GettextizeTemplates.pm index ec734e0..f5c97ff 100644 --- a/intl/Sesse::GettextizeTemplates.pm +++ b/intl/Sesse::GettextizeTemplates.pm @@ -11,6 +11,7 @@ sub textblock { my ($self, $text) = @_; $text =~ s/(<(h[1-6]|p|td|th|title|input|span|li|_)[^>]*>)(.*?)(<\/\2>)/$1.gettext($3).$4/seg; + $text =~ s/<\/?_>//g; return $self->SUPER::textblock($text); }