1 Commits
1.0.3 ... 1.0.4

Author SHA1 Message Date
929b6401cc just formatted 2026-01-14 15:28:39 +05:00

View File

@@ -13,7 +13,7 @@ namespace mirzaev;
* @return string Escaped text * @return string Escaped text
*/ */
function unmarkdown(string $text, array $exceptions = []): string function unmarkdown(string $text, array $exceptions = []): string
{ {
// Initializing the registry of characters for escaping // Initializing the registry of characters for escaping
$from = array_diff( $from = array_diff(
[ [
@@ -46,4 +46,4 @@ function unmarkdown(string $text, array $exceptions = []): string
// Escaping the text and exit (success) // Escaping the text and exit (success)
return str_replace($from, $to, $text); return str_replace($from, $to, $text);
} }