ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/gde/GCE/Util.pm
(Generate patch)

Comparing deliantra/gde/GCE/Util.pm (file contents):
Revision 1.14 by elmex, Sun Apr 2 09:54:18 2006 UTC vs.
Revision 1.15 by elmex, Sun Apr 2 17:57:37 2006 UTC

25sub pseudohtml2txt { 25sub pseudohtml2txt {
26 my ($html) = @_; 26 my ($html) = @_;
27 27
28 $html =~ s/<br\s*?\/?>/\n/gsi; 28 $html =~ s/<br\s*?\/?>/\n/gsi;
29 $html =~ s/<b>(.*?)<\/b>/_\1_/gsi; 29 $html =~ s/<b>(.*?)<\/b>/_\1_/gsi;
30 $html =~ s/<\/?\s*li>//gi;
31 $html =~ s/<\/?\s*ul>//gi;
32 $html =~ s/&gt;/>/g;
33 $html =~ s/&lt;/</g;
30 $html 34 $html
31} 35}
32 36
33sub exit_paths { 37sub exit_paths {
34 my ($mappath, $map1path, $map2path) = @_; 38 my ($mappath, $map1path, $map2path) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines