From: Michael Wallner Date: Thu, 9 Sep 2021 13:16:11 +0000 (+0200) Subject: ignore html marking single char constants X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=ade39e689512b491af28a8e3a85696231364ca03;p=mdref%2Fmdref ignore html marking single char constants --- 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';