Bug 4472 - Missing / in img tags breaking xslt (and other img tags)
This commit is contained in:
parent
4c14cd317e
commit
cca42b1e41
1 changed files with 10 additions and 4 deletions
|
@ -74,10 +74,16 @@ sub text_replace_tag ($$) {
|
||||||
sprintf(' %s=%s', $_, $attr->{$_}->[2]) #FIXME
|
sprintf(' %s=%s', $_, $attr->{$_}->[2]) #FIXME
|
||||||
} sort {
|
} sort {
|
||||||
$attr->{$a}->[3] <=> $attr->{$b}->[3] #FIXME
|
$attr->{$a}->[3] <=> $attr->{$b}->[3] #FIXME
|
||||||
} keys %$attr)
|
} keys %$attr);
|
||||||
. '>';
|
if ($tag eq 'img'){
|
||||||
} else {
|
$it .= ' />';
|
||||||
$it = $t;
|
}
|
||||||
|
else {
|
||||||
|
$it .= ' >';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$it = $t;
|
||||||
}
|
}
|
||||||
return $it;
|
return $it;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue