Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | public function getReplacePatternData(): array |
||
10 | { |
||
11 | return [ |
||
12 | '/src="(.*?)"/' => 'src=$1', |
||
13 | '/width="(.*?)"/' => 'width=$1', |
||
14 | '/height="(.*?)"/' => 'height=$1', |
||
15 | '/name="(.*?)"/' => 'name=$1', |
||
16 | '/charset="(.*?)"/' => 'charset=$1', |
||
17 | '/align="(.*?)"/' => 'align=$1', |
||
18 | '/border="(.*?)"/' => 'border=$1', |
||
19 | '/crossorigin="(.*?)"/' => 'crossorigin=$1', |
||
20 | '/type="(.*?)"/' => 'type=$1', |
||
21 | '/\/>/' => '>', |
||
22 | ]; |
||
25 |