Return to edit.pm CVS log | Up to [LON-CAPA] / loncom / homework |
version 1.125, 2010/01/31 00:44:21 | version 1.126, 2010/06/04 23:03:55 |
---|---|
Line 357 sub do_insert { | Line 357 sub do_insert { |
my $depth = scalar(@Apache::lonxml::depthcounter); | my $depth = scalar(@Apache::lonxml::depthcounter); |
$depth -- if ($after); | $depth -- if ($after); |
my $inset = "\t"x$depth; | my $inset = "\t"x$depth; |
$result.="\n$inset<$newtag>\n$inset</$newtag>"; | $result.="\n$inset<$newtag></$newtag>"; |
} else { | } else { |
if (defined(&$func)) { | if (defined(&$func)) { |
{ | { |