diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/perlconverters/usfm2osis.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/perlconverters/usfm2osis.pl b/modules/perlconverters/usfm2osis.pl index 86f328c..539e5a7 100755 --- a/modules/perlconverters/usfm2osis.pl +++ b/modules/perlconverters/usfm2osis.pl @@ -4,7 +4,7 @@ ## Licensed under the standard BSD license: -# Copyright (c) 2002-2012 CrossWire Bible Society <http://www.crosswire.org/> +# Copyright (c) 2002-2013 CrossWire Bible Society <http://www.crosswire.org/> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -242,7 +242,7 @@ foreach $file (@files) { $line = @filedata[$i]; ### Basic XML entity encoding - $line =~ s/&(?![a-zA-Z0-9])/&/g; + $line =~ s/&(?![a-zA-Z0-9]+;)/&/g; # $line =~ s/<< ?/\@/g; # $line =~ s/>>/\#/g; # $line =~ s/</\$/g; |