mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Formatting fix
This commit is contained in:
parent
bfdd0f29bc
commit
0a1e4bd802
@ -161,10 +161,11 @@ final class Markup implements ContinuableBlock
|
|||||||
return new self($rawLine, 6);
|
return new self($rawLine, 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $isClosing && \preg_match(
|
if (
|
||||||
'/^(?:[ ]*+'.self::REGEX_HTML_ATTRIBUTE.')*(?:[ ]*+)[\/]?+[>](.*+)$/',
|
! $isClosing && \preg_match(
|
||||||
$tail,
|
'/^(?:[ ]*+'.self::REGEX_HTML_ATTRIBUTE.')*(?:[ ]*+)[\/]?+[>](.*+)$/',
|
||||||
$matches
|
$tail,
|
||||||
|
$matches
|
||||||
) || $isClosing && \preg_match(
|
) || $isClosing && \preg_match(
|
||||||
'/^(?:[ ]*+)[\/]?+[>](.*+)$/',
|
'/^(?:[ ]*+)[\/]?+[>](.*+)$/',
|
||||||
$tail,
|
$tail,
|
||||||
|
Loading…
Reference in New Issue
Block a user