mirror of
https://github.com/YGGverse/gemini-php.git
synced 2025-09-12 22:22:37 +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)
|
if ($raw)
|
||||||
{
|
{
|
||||||
$lines[] = $line;
|
$lines[] = preg_replace(
|
||||||
|
'/^\s*```/',
|
||||||
|
' ```',
|
||||||
|
$line
|
||||||
|
);
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user