mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 02:49:49 +01:00
Decode entities
This commit is contained in:
parent
31f0b129de
commit
2dc70b7eea
@ -6,6 +6,7 @@ use strict;
|
|||||||
use SOAP::Lite;
|
use SOAP::Lite;
|
||||||
$SOAP::Constants::DO_NOT_USE_XML_PARSER = 1;
|
$SOAP::Constants::DO_NOT_USE_XML_PARSER = 1;
|
||||||
use IPC::Open2;
|
use IPC::Open2;
|
||||||
|
use HTML::Entities;
|
||||||
|
|
||||||
my $user = 'test';
|
my $user = 'test';
|
||||||
my $pass = 'test';
|
my $pass = 'test';
|
||||||
@ -295,6 +296,8 @@ if($result->{result} == $INTERNAL_ERROR) {
|
|||||||
$output .= "\n" . $result->{stderr};
|
$output .= "\n" . $result->{stderr};
|
||||||
$output .= "\n" . $result->{output};
|
$output .= "\n" . $result->{output};
|
||||||
|
|
||||||
|
$output = decode_entities($output);
|
||||||
|
|
||||||
$output =~ s/cc1: warnings being treated as errors//;
|
$output =~ s/cc1: warnings being treated as errors//;
|
||||||
$output =~ s/ Line \d+ ://g;
|
$output =~ s/ Line \d+ ://g;
|
||||||
$output =~ s/ \(first use in this function\)//g;
|
$output =~ s/ \(first use in this function\)//g;
|
||||||
|
Loading…
Reference in New Issue
Block a user