2 Commits

Author SHA1 Message Date
ae97b9e464 \\ fix 2025-11-09 18:37:20 +07:00
692d4c3482 use function 2025-11-09 18:30:35 +07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ Library for escaping all markdown symbols
```php
// Library for escaping all markdown symbols
use mirzaev\unmarkdown\unmarkdown;
use function mirzaev\unmarkdown;
var_dump(unmarkdown('*Hello!*')); // "\\*Hello\\!\\*"
```

View File

@@ -33,7 +33,7 @@ function unmarkdown(string $text, array $exceptions = []): string
'<',
'!',
'`',
'\\',
'\\\\',
'|',
'+'
],