From 352708f38fa150eead2345ae78d797144258e511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Sun, 2 Sep 2018 15:56:14 +0200 Subject: [PATCH] Actually use Youtube regexp --- yt.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yt.php b/yt.php index e01d383..9dba8c7 100644 --- a/yt.php +++ b/yt.php @@ -93,8 +93,7 @@ class YTPlugin extends Plugin }; // set the parsed content back into as raw content - //$page->setRawContent($this->parseLinks($raw, $function, $this::YOUTUBE_REGEX)); - $page->setRawContent($this->parseLinks($raw, $function)); + $page->setRawContent($this->parseLinks($raw, $function, $this::YOUTUBE_REGEX)); } }