diff --git a/metatag.inc b/metatag.inc index ab85a2d..d535218 100644 --- a/metatag.inc +++ b/metatag.inc @@ -165,7 +165,7 @@ class DrupalDefaultMetaTag implements DrupalMetaTagInterface { public function tidyValue($value) { // Check for Media strings from the WYSIWYG submodule. if (module_exists('media_wysiwyg') && strpos($value, '[[{') !== FALSE) { - $value = media_wysiwyg_filter($value); + $value = media_wysiwyg_filter($value, NULL, NULL, NULL, NULL, NULL); } // Specifically replace encoded spaces, because some WYSIWYG editors are @@ -202,7 +202,7 @@ class DrupalDefaultMetaTag implements DrupalMetaTagInterface { // ones that are relative to the Drupal root path. if (strpos($url, base_path()) === 0) { // Logic: - // * Get the length of the base_path(), + // * Get the length of the base_path(), // * Get a portion of the image's path starting from the position equal // to the base_path()'s length; this will result in a path relative // to the Drupal installation's base directory.