diff --git a/src/server.php b/src/server.php index ca02512..cba7f8d 100644 --- a/src/server.php +++ b/src/server.php @@ -558,8 +558,8 @@ $server->setHandler( $result[] = trim( preg_replace( [ - '/^(^|\s+)(#|\*|```|=>)/', // escape gemini text - '/[\n\r]{3,}/', // remove extra breaks + '/(^|\s+)(#|\*|```|=>)/', // escape gemini text + '/[\n\r]{3,}/', // remove extra breaks ], [ '$1 $2',