mirror of
https://github.com/YGGverse/gemini-php.git
synced 2025-03-13 06:01:58 +00:00
escape code chars in raw line
This commit is contained in:
parent
d8bd05c908
commit
d66734766f
@ -235,7 +235,11 @@ class Reader
|
||||
|
||||
if ($raw)
|
||||
{
|
||||
$lines[] = $line;
|
||||
$lines[] = preg_replace(
|
||||
'/^\s*```/',
|
||||
' ```',
|
||||
$line
|
||||
);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user