|
|
@ -28,6 +28,7 @@ $this->params['breadcrumbs'][] = $page->title; |
|
|
|
'HTML.SafeIframe' => true, |
|
|
|
'HTML.SafeIframe' => true, |
|
|
|
'URI.SafeIframeRegexp'=>'%^(https?:)?//(www\.youtube(?:-nocookie)?\.com/embed/|player\.vimeo\.com/video/)%', |
|
|
|
'URI.SafeIframeRegexp'=>'%^(https?:)?//(www\.youtube(?:-nocookie)?\.com/embed/|player\.vimeo\.com/video/)%', |
|
|
|
])) ?> --> |
|
|
|
])) ?> --> |
|
|
|
|
|
|
|
|
|
|
|
<?= preg_replace_callback('/\[\?= (.*) \?\]/gm', function ($m) { |
|
|
|
<?= preg_replace_callback('/\[\?= (.*) \?\]/gm', function ($m) { |
|
|
|
return $m[1]; |
|
|
|
return $m[1]; |
|
|
|
}, Yii::$app->formatter->asHtml($page->content, [ |
|
|
|
}, Yii::$app->formatter->asHtml($page->content, [ |
|
|
|