Changeset 12941
- Timestamp:
- 2006-09-29T15:10:00+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cic-hcap/perllib/plugins/CICPlug.pm
r12939 r12941 502 502 503 503 # Prepare SQL statement for getting everything from the Place table 504 my $place_sql_statement = "SELECT * FROM tblPlace"; 504 my $place_sql_statement = "SELECT * FROM tblPlace"; # WHERE Entry_ID<100"; 505 505 my $place_sql_handle = $dbh->prepare($place_sql_statement); 506 506 $place_sql_handle->{LongReadLen} = 65536; … … 805 805 if (defined($place_narrative)) { 806 806 my $place_narrative_html = &rtf_to_html($place_narrative); 807 $place_narrative_html =~ s/ <br \/>(\s|\n)*$//; # Remove any trailing <br /> tags807 $place_narrative_html =~ s/(<br \/>(\s|\n)*)*$//; # Remove any trailing <br /> tags 808 808 &new_metadata_entry($place_doc_obj, "PlaceNarrativeHTML", $place_narrative_html); 809 809 } … … 1073 1073 } 1074 1074 1075 # Remove empty tags for HTML 4 compliance 1076 $rtf_string =~ s/<i>\s*<\/i>/ /g; 1077 1075 1078 return $rtf_string; 1076 1079 }
Note:
See TracChangeset
for help on using the changeset viewer.