Decode entities

This commit is contained in:
Pragmatic Software 2010-05-08 01:51:57 +00:00
parent 31f0b129de
commit 2dc70b7eea
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ use strict;
use SOAP::Lite;
$SOAP::Constants::DO_NOT_USE_XML_PARSER = 1;
use IPC::Open2;
use HTML::Entities;
my $user = 'test';
my $pass = 'test';
@ -295,6 +296,8 @@ if($result->{result} == $INTERNAL_ERROR) {
$output .= "\n" . $result->{stderr};
$output .= "\n" . $result->{output};
$output = decode_entities($output);
$output =~ s/cc1: warnings being treated as errors//;
$output =~ s/ Line \d+ ://g;
$output =~ s/ \(first use in this function\)//g;