I think I have a bug fix for XML &amp;

It looks like when text has more than one "&" only the first is translated to "&amp;". I think it is the Graph.pm module at:

@new_data{ map { s/&/&amp;/; $_ }... s/b @new_data{ map { s/&/&amp;/g; $_ }... # missing "g" for global