mirror of
https://github.com/YGGverse/gemini-php.git
synced 2025-02-06 12:14:19 +00:00
fix closing raw code|file tag
This commit is contained in:
parent
c4eee5c07f
commit
880ffa2c3d
@ -198,7 +198,7 @@ class Reader
|
|||||||
|
|
||||||
$lines[] = '```';
|
$lines[] = '```';
|
||||||
$lines[] = preg_replace(
|
$lines[] = preg_replace(
|
||||||
'/<(code|file)[^>]*>/i',
|
'/<\/?(code|file)[^>]*>/i',
|
||||||
'',
|
'',
|
||||||
$line
|
$line
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user