From bed11e4edc456bfd769cca0c297cd13d30d3d732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Fri, 14 Jun 2024 22:12:40 +0200 Subject: [PATCH] Generate DocBook 5.2 conformant class synopses pages (#14351) Related to https://github.com/php/doc-en/pull/3415 --- build/gen_stub.php | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/build/gen_stub.php b/build/gen_stub.php index bc81b033f14..b17fbda6bf1 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -5585,19 +5585,21 @@ function replaceClassSynopses( $replacedXml = preg_replace( [ "/REPLACED-ENTITY-([A-Za-z0-9._{}%-]+?;)/", - '//i', - '//i', - '//i', - '//i', - '//i', + '//i', + '//i', + '//i', + '//i', + '//i', + '//i', ], [ "&$1", - "", - "", - "", - "", - "", + "", + "", + "", + "", + "", + "", ], $replacedXml );