public function dataBBCodesToMarkdown()
{
return [
- 'bug-7808-gt' => [
+ 'bug-7808-gt' => [
'expected' => '>`>`',
'text' => '>[code]>[/code]',
],
- 'bug-7808-lt' => [
+ 'bug-7808-lt' => [
'expected' => '<`<`',
'text' => '<[code]<[/code]',
],
- 'bug-7808-amp' => [
+ 'bug-7808-amp' => [
'expected' => '&`&`',
'text' => '&[code]&[/code]',
],
- 'bug-12701-quotes' => [
+ 'bug-12701-quotes' => [
'expected' => '[](https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581)',
'text' => '[url=https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581][img=https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png]abc"fgh[/img][/url]',
],
- 'bug-12701-no-quotes' => [
+ 'bug-12701-no-quotes' => [
'expected' => '[](https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581)',
'text' => '[url=https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581][img=https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png]abcfgh[/img][/url]',
],