mirror of
https://github.com/ivuorinen/bbcodeparser.git
synced 2026-01-26 11:23:58 +00:00
GitHub actions, normalization and support for PHP8
This commit is contained in:
@@ -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' => [
|
||||
|
||||
Reference in New Issue
Block a user