X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fmedia%2FDjVuImage.php;h=d25111c4458fa7749f9d217ab71778b7a37fdfb7;hb=2b6f3f0adc475da7eab1ef04dfe917e5536e6e10;hp=5e8f8c8f1d07f1ea41eb12d61c578cf52c8dc6fb;hpb=ce079cf6ad79ca8d3360817f809b219d166f9153;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/DjVuImage.php b/includes/media/DjVuImage.php index 5e8f8c8f1d..d25111c445 100644 --- a/includes/media/DjVuImage.php +++ b/includes/media/DjVuImage.php @@ -40,8 +40,6 @@ class DjVuImage { const DJVUTXT_MEMORY_LIMIT = 300000; /** - * Constructor - * * @param string $filename The DjVu file name. */ function __construct( $filename ) { @@ -277,9 +275,9 @@ class DjVuImage { $reg = << # Text to match is composed of atoms of either: - \\\\. # - any escaped character - | # - any character different from " and \ - [^"\\\\]+ + \\\\. # - any escaped character + | # - any character different from " and \ + [^"\\\\]+ )*?) "\s*\) | # Or page can be empty ; in this case, djvutxt dumps ()