Escaped double-quotes in Anvil! node descriptions when reporting usage as XML format. Should resolve issue #321.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 1 year ago
parent f998a44077
commit 942c4c94bf
  1. 1
      tools/anvil-report-usage

@ -277,6 +277,7 @@ sub show_anvils_machine
{ {
my $anvil_uuid = $anvil->data->{anvil_data}{$anvil_name}{anvil_uuid}; my $anvil_uuid = $anvil->data->{anvil_data}{$anvil_name}{anvil_uuid};
my $anvil_description = $anvil->data->{anvil_data}{$anvil_name}{description}; my $anvil_description = $anvil->data->{anvil_data}{$anvil_name}{description};
$anvil_description =~ s/"/\"/g;
my $cpu_cores = $anvil->data->{anvil_data}{$anvil_name}{cpu_cores}; my $cpu_cores = $anvil->data->{anvil_data}{$anvil_name}{cpu_cores};
my $cpu_threads = $anvil->data->{anvil_data}{$anvil_name}{cpu_threads}; my $cpu_threads = $anvil->data->{anvil_data}{$anvil_name}{cpu_threads};
my $ram_available = $anvil->data->{anvil_data}{$anvil_name}{ram_available}; my $ram_available = $anvil->data->{anvil_data}{$anvil_name}{ram_available};

Loading…
Cancel
Save