From 7deb61e7c0db4c2d6ec54c7732fa459bbc506f76 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Thu, 4 Jun 2015 11:13:00 +0800 Subject: [PATCH] MDL-47995 lib: encode title properly, before additing it to image title --- lib/resourcelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resourcelib.php b/lib/resourcelib.php index 10b0ea9cf7a..67216ee3c86 100644 --- a/lib/resourcelib.php +++ b/lib/resourcelib.php @@ -216,7 +216,7 @@ function resourcelib_get_extension($fullurl) { function resourcelib_embed_image($fullurl, $title) { $code = ''; $code .= '
'; - $code .= "\"\""; + $code .= "\"\""; $code .= '
'; return $code;