mirror of
https://github.com/ivuorinen/bbcodeparser.git
synced 2026-02-11 13:47:13 +00:00
chore(lint): fixed codestyle
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
<?php namespace ivuorinen\BBCode;
|
<?php
|
||||||
|
|
||||||
|
namespace ivuorinen\BBCode;
|
||||||
|
|
||||||
use \ivuorinen\BBCode\Traits\ArrayTrait;
|
use \ivuorinen\BBCode\Traits\ArrayTrait;
|
||||||
|
|
||||||
@@ -108,7 +110,7 @@ class BBCodeParser
|
|||||||
'youtube' => [
|
'youtube' => [
|
||||||
'pattern' => '/\[youtube\](.*?)\[\/youtube\]/s',
|
'pattern' => '/\[youtube\](.*?)\[\/youtube\]/s',
|
||||||
'replace' => '<iframe width="560" height="315" src="//www.youtube.com/embed/$1"' .
|
'replace' => '<iframe width="560" height="315" src="//www.youtube.com/embed/$1"' .
|
||||||
' frameborder="0" allowfullscreen></iframe>',
|
' frameborder="0" allowfullscreen></iframe>',
|
||||||
'content' => '$1'
|
'content' => '$1'
|
||||||
],
|
],
|
||||||
'linebreak' => [
|
'linebreak' => [
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
<?php namespace ivuorinen\BBCode;
|
<?php
|
||||||
|
|
||||||
|
namespace ivuorinen\BBCode;
|
||||||
|
|
||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user