GitHub actions, normalization and support for PHP8

This commit is contained in:
Ismo Vuorinen
2022-02-10 16:59:07 +02:00
parent d70c7b63ea
commit 7ba2f6b6af
12 changed files with 174 additions and 76 deletions

View File

@@ -107,7 +107,8 @@ class BBCodeParser
],
'youtube' => [
'pattern' => '/\[youtube\](.*?)\[\/youtube\]/s',
'replace' => '<iframe width="560" height="315" src="//www.youtube.com/embed/$1" frameborder="0" allowfullscreen></iframe>',
'replace' => '<iframe width="560" height="315" src="//www.youtube.com/embed/$1"' .
' frameborder="0" allowfullscreen></iframe>',
'content' => '$1'
],
'linebreak' => [