mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-03-31 17:05:29 +00:00
fix closing raw code|file tag
This commit is contained in:
parent
c4eee5c07f
commit
880ffa2c3d
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ class Reader
|
||||||
|
|
||||||
$lines[] = '```';
|
$lines[] = '```';
|
||||||
$lines[] = preg_replace(
|
$lines[] = preg_replace(
|
||||||
'/<(code|file)[^>]*>/i',
|
'/<\/?(code|file)[^>]*>/i',
|
||||||
'',
|
'',
|
||||||
$line
|
$line
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue