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; }