mirror of
https://github.com/YGGverse/gemtext-php.git
synced 2026-03-31 09:45:33 +00:00
fix multiline code expression
This commit is contained in:
parent
ca0ca7dfb7
commit
e0b496a7ae
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ class Code implements \Yggverse\Gemtext\Interface\Parser
|
||||||
|
|
||||||
// Multiline with optional alt support
|
// Multiline with optional alt support
|
||||||
case preg_match(
|
case preg_match(
|
||||||
'/^(?<tag>[`]{3})(?<alt>[^`]+)$/m',
|
'/^(?<tag>[`]{3})(?<alt>[^`]*)$/m',
|
||||||
$line,
|
$line,
|
||||||
$matches
|
$matches
|
||||||
):
|
):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue