[Koha-patches] [PATCH] Bug 5917 : Fix for translating XSLT

Chris Cormack chrisc at catalyst.net.nz
Mon Apr 11 11:10:05 CEST 2011


---
 misc/translator/tmpl_process3.pl |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/misc/translator/tmpl_process3.pl b/misc/translator/tmpl_process3.pl
index 17b6b4c..46ceceb 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;
     }
-- 
1.5.6.5



More information about the Koha-patches mailing list