Browse Source

rollback regex change

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

2
src/server.php

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

Loading…
Cancel
Save