2 # reformat html inside xml back to html (basically, support for tables)
11 foreach $line (split(/###/,$html)) {
13 my @items = split(/#-#/,$line);
14 $items[1] =~ s#(.*)\b(http://[\w\./]+)(\b?.*)#$1<a href=\"$2\">$2</a>$3#g;
15 $out .= join("</td><td>",@items);
16 $out .= "</td></tr>\n";
18 $out =~ s/<br\/*>/<br\/>/g;