Skip to content

Commit

Permalink
Encode PBC bill titles as with other bodies.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Oct 23, 2024
1 parent 97614fa commit c26dd33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/xml2db.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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 <bill>
},
'committee' => sub {
Expand Down

0 comments on commit c26dd33

Please sign in to comment.