Remove the parsable tags when showing raw snip

This commit is contained in:
Tim
2023-04-08 18:08:45 +02:00
parent 669cbfdaca
commit 980ea6af94
2 changed files with 11 additions and 2 deletions

View File

@ -19,4 +19,13 @@ class Pipeline
return $pipeline->process($payload);
}
public function clean(string $payload): string
{
return str_replace(
['```', '``'],
'',
$payload
);
}
}