diff --git a/scripts/xml2db.pl b/scripts/xml2db.pl index 0aae12493e..a07ca50790 100755 --- a/scripts/xml2db.pl +++ b/scripts/xml2db.pl @@ -1508,6 +1508,7 @@ sub add_standing_day { 'bill' => sub { $bill = strip_string($_->att('title')); $bill_id = add_bill($bill, $_); + $bill = HTML::Entities::encode_entities($bill); # attributes aren't encoded automatically $majorheadingstate = 1; # Got a }, 'committee' => sub {