|
@@ -12,7 +12,7 @@ |
|
|
block discarded – undo |
|
12
|
12
|
{ |
|
13
|
13
|
// it's necessary to have both arrays sorted this way - it's for lookup by positions |
|
14
|
14
|
/** @var string[] */ |
|
15
|
|
- protected static array $OPENING_TAGS = ['<b ', '<b>', '<i ', '<i>', '<u ', '<u>', '<center>', '<span>', '<span ', '<font color', '<font face', '<font size', '<font ', '<font', '<table ', '<table', '<tr>', '<td>', '<a ', '<a>']; |
|
|
15
|
+ protected static array $OPENING_TAGS = ['<b ', '<b>', '<i ', '<i>', '<u ', '<u>', '<center>', '<span>', '<span ', '<font color', '<font face', '<font size', '<font ', '<font', '<table ', '<table', '<tr>', '<td>', '<a ', '<a>']; |
|
16
|
16
|
/** @var string[] */ |
|
17
|
17
|
protected static array $CLOSING_TAGS = ['</b>', '</b>', '</i>', '</i>', '</u>', '</u>', '</center>', '</span>', '</span>', '</font>', '</font>', '</font>', '</font>', '</font>', '</table>', '</table>', '</tr>', '</td>', '</a>', '</a>']; |
|
18
|
18
|
|