Show
Ignore:
Timestamp:
05.05.2016 06:00:00 (4 years ago)
Author:
litvinovg
Message:

Fix for previous commit.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/PDFPlugin.pm

    r30491 r30492  
    315315    # num_pages as metadata. 
    316316    # Clean html from low and hight surrogates D800–DFFF 
    317     $text =~ s@[\N{U+D800}-\N{DFFF}]@\ @g; 
     317    $text =~ s@[\N{U+D800}-\N{U+DFFF}]@\ @g; 
    318318    my @pages = ($text =~ m/\<[Aa] name=\"?\w+\"?>/ig); #<div style=\"?page-break-before:always; page-break-after:always\"?> 
    319319    my $num_pages = scalar(@pages);