From 3fdf627c19306f0d22e6f2341ce738cd2690e4dd Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 11 Apr 2011 21:10:05 +1200 Subject: [PATCH] Bug 5917 : Fix for translating XSLT Signed-off-by: Chris Cormack --- misc/translator/tmpl_process3.pl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/misc/translator/tmpl_process3.pl b/misc/translator/tmpl_process3.pl index 17b6b4c5ce..46ceceb1af 100755 --- a/misc/translator/tmpl_process3.pl +++ b/misc/translator/tmpl_process3.pl @@ -81,13 +81,8 @@ sub text_replace_tag ($$) { } sort { $attr->{$a}->[3] <=> $attr->{$b}->[3] #FIXME } keys %$attr); - if ($tag eq 'img'){ - $it .= ' />'; - } - else { - $it .= '>'; - } - } + $it .= '>'; + } else { $it = $t; } -- 2.39.2