From ade39e689512b491af28a8e3a85696231364ca03 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 9 Sep 2021 15:16:11 +0200 Subject: [PATCH] ignore html marking single char constants --- mdref/Structure.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mdref/Structure.php b/mdref/Structure.php index 70233cb..ace780b 100644 --- a/mdref/Structure.php +++ b/mdref/Structure.php @@ -129,7 +129,9 @@ class Structure { private function getConstants() : array { static $pattern = '/ \*\s+ + (?:[<]span[ ]class="constant"[>])? (?\w+) + (?:[<]\/span[>])? (?:\s*=\s*(?P.+))? (?P(?:\s*\n\s*[^\*\n#].*)*) /x'; -- 2.30.2