mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-03-31 17:05:29 +00:00
escape code chars in raw line
This commit is contained in:
parent
d8bd05c908
commit
d66734766f
1 changed files with 5 additions and 1 deletions
|
|
@ -235,7 +235,11 @@ class Reader
|
|||
|
||||
if ($raw)
|
||||
{
|
||||
$lines[] = $line;
|
||||
$lines[] = preg_replace(
|
||||
'/^\s*```/',
|
||||
' ```',
|
||||
$line
|
||||
);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue