~ubuntu-branches/ubuntu/lucid/spamassassin/lucid-proposed

« back to all changes in this revision

Viewing changes to lib/Mail/SpamAssassin/HTML.pm

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville, Ubuntu Merge-o-Matic, Laurent Bigonville
  • Date: 2006-07-31 15:40:08 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060731154008-j37ulp5pgfkddegw
Tags: 3.1.3-1ubuntu1
[ Ubuntu Merge-o-Matic ]
* Merge from debian unstable.

[ Laurent Bigonville ]
* fix debian/control.
* drop debian/patches/40_fix_dns_issue.

Show diffs side-by-side

added added

removed removed

Lines of Context:
269
269
  # reason, so convert them to spaces.  Confirmed in 3.31, at least.
270
270
  $text =~ s/ / /g;
271
271
 
 
272
  # bug 4695: we want "<br/>" to be treated the same as "<br>", and
 
273
  # the HTML::Parser API won't do it for us
 
274
  $text =~ s/<(\w+)\s*\/>/<$1>/gi;
 
275
 
272
276
  # ALWAYS pack it into byte-representation, even if we're using 'use bytes',
273
277
  # since the HTML::Parser object may use Unicode internally. (bug 1417,
274
278
  # maybe).  Also, ignore stupid warning that can't be suppressed: 'Parsing of