mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 05:18:40 +00:00
Fix em regex
This commit is contained in:
parent
bbb9d06f29
commit
6448930755
|
|
@ -98,6 +98,7 @@ class Markdown
|
||||||
*/
|
*/
|
||||||
protected array $emRegex = [
|
protected array $emRegex = [
|
||||||
'*' => '/^[*]((?:\\\\\*|[^*]|[*][*][^*]+?[*][*])+?)[*](?![*])/s',
|
'*' => '/^[*]((?:\\\\\*|[^*]|[*][*][^*]+?[*][*])+?)[*](?![*])/s',
|
||||||
|
'_' => '/^[_]((?:\\\\\_|[^_]|[_][_][^_]+?[_][_])+?)[_](?![_])/s',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -1529,6 +1530,10 @@ class Markdown
|
||||||
case 'paypal':
|
case 'paypal':
|
||||||
$src = 'Resources/icons/company/paypal.svg';
|
$src = 'Resources/icons/company/paypal.svg';
|
||||||
break;
|
break;
|
||||||
|
case 'linkedin':
|
||||||
|
$src = 'Resources/icons/company/linkedin.svg';
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user