~ubuntu-branches/ubuntu/oneiric/libhtml-wikiconverter-perl/oneiric

« back to all changes in this revision

Viewing changes to t/runtests.pl

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Genannt
  • Date: 2006-01-09 20:19:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060109201912-306xp7tjdjcwejlu
Tags: 0.40-1
New Upstream Release

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
  my $tmpl = "++++\n%s\n%s\n++\n%s\n"; # test-name, input, expected-output
105
105
 
106
106
  my $data = '';
107
 
  my @chars = ( '<', '>', '&', decode_entities('&nbsp;') );
 
107
  my @chars = ( '<', '>', '&' );
108
108
  foreach my $char ( @chars ) {
109
109
    ( my $charname = e($char) ) =~ s/[&;]//g;
110
110
    $data .= sprintf $tmpl, "literal ($charname)", $char, e($char)