Bug 5917 : Fix for translating XSLT

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Chris Cormack 2011-04-11 21:10:05 +12:00
parent 241846c62c
commit 3fdf627c19

View file

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