Browse Source

rollback regex change

main
ghost 8 months ago
parent
commit
ba664e101a
  1. 4
      src/server.php

4
src/server.php

@ -558,8 +558,8 @@ $server->setHandler(
$result[] = trim( $result[] = trim(
preg_replace( preg_replace(
[ [
'/^(^|\s+)(#|\*|```|=>)/', // escape gemini text '/(^|\s+)(#|\*|```|=>)/', // escape gemini text
'/[\n\r]{3,}/', // remove extra breaks '/[\n\r]{3,}/', // remove extra breaks
], ],
[ [
'$1 $2', '$1 $2',

Loading…
Cancel
Save