1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Formatting fix

This commit is contained in:
Aidan Woods 2019-09-09 23:27:58 +01:00
parent bfdd0f29bc
commit 0a1e4bd802
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9

View File

@ -161,7 +161,8 @@ final class Markup implements ContinuableBlock
return new self($rawLine, 6); return new self($rawLine, 6);
} }
if (! $isClosing && \preg_match( if (
! $isClosing && \preg_match(
'/^(?:[ ]*+'.self::REGEX_HTML_ATTRIBUTE.')*(?:[ ]*+)[\/]?+[>](.*+)$/', '/^(?:[ ]*+'.self::REGEX_HTML_ATTRIBUTE.')*(?:[ ]*+)[\/]?+[>](.*+)$/',
$tail, $tail,
$matches $matches