X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fmedia%2FDjVuImage.php;h=d25111c4458fa7749f9d217ab71778b7a37fdfb7;hp=5e8f8c8f1d07f1ea41eb12d61c578cf52c8dc6fb;hb=d19826aa35b206847a568a4b2c1c9ffaa615fca5;hpb=fba48c6dae69b7163580d936095b7dd16c9b3644 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 ()